From 149b91d3b3b606eb57973f17b6ab8cf8a872db16 Mon Sep 17 00:00:00 2001 From: Baoshuo Ren Date: Fri, 14 Jun 2024 18:49:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AF=94=E8=B5=9B=E5=88=97=E8=A1=A8=E6=8C=89?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E6=8E=92=E5=BA=8F=20(#128)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/app/controllers/contests.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/app/controllers/contests.php b/web/app/controllers/contests.php index eea2b46e1..15dc0b693 100644 --- a/web/app/controllers/contests.php +++ b/web/app/controllers/contests.php @@ -56,7 +56,7 @@ function echoContest($contest) { $table_header .= ''.UOJLocale::get('contests::the number of registrants').''; $table_header .= ''.UOJLocale::get('appraisal').''; $table_header .= ''; - echoLongTable(array('*'), 'contests', "status != 'finished'", 'order by id desc', $table_header, + echoLongTable(array('*'), 'contests', "status != 'finished'", 'order by start_time asc, id asc', $table_header, echoContest, array('page_len' => 100) ); @@ -80,7 +80,7 @@ function echoContest($contest) {

100, 'print_after_table' => function() {