From 191bcba32cdca510a9505333a761c389a89b2dff Mon Sep 17 00:00:00 2001 From: ghost Date: Thu, 18 Jan 2024 07:51:19 +0200 Subject: [PATCH] fix default pagination field --- templates/default/server/index.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/default/server/index.html.twig b/templates/default/server/index.html.twig index e43022d..f540163 100644 --- a/templates/default/server/index.html.twig +++ b/templates/default/server/index.html.twig @@ -257,7 +257,7 @@ 'server_index', { sort : 'players', - field : request.get('sort') == 'players' and request.get('field') ? request.get('field') : 'time', + field : request.get('sort') == 'players' and request.get('field') ? request.get('field') : 'frags', order : request.get('sort') == 'players' and request.get('order') ? request.get('order') : 'desc', page : (request.get('sort') == 'players' and request.get('page') ? request.get('page') : 1) + 1, crc32server : server.crc32server,