From 81520f1063b68a7ec370b2f332d9d66010b0f7ab Mon Sep 17 00:00:00 2001 From: Baoshuo Ren Date: Fri, 21 Oct 2022 13:41:45 +0800 Subject: [PATCH] fix(web/contests): upcoming contests order --- web/app/controllers/contests.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/controllers/contests.php b/web/app/controllers/contests.php index 7ede4bb..94397d3 100644 --- a/web/app/controllers/contests.php +++ b/web/app/controllers/contests.php @@ -105,7 +105,7 @@ if (isSuperUser($myUser)) { $table_config['div_classes'] = array('card', 'mb-3'); $table_config['table_classes'] = array('table', 'uoj-table', 'mb-0', 'text-center'); } - echoLongTable(array('*'), 'contests', "status != 'finished'", 'order by start_time desc, id desc', $table_header, + echoLongTable(array('*'), 'contests', "status != 'finished'", 'order by start_time asc, id asc', $table_header, echoContest, $table_config );