From 2225ddb5d4881775438ea6b9d8c3b2adc193f372 Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Sat, 28 Jan 2023 09:11:36 +0800 Subject: [PATCH] fix(list): table col name --- web/app/controllers/list.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/web/app/controllers/list.php b/web/app/controllers/list.php index 5a24d80..87ca60e 100644 --- a/web/app/controllers/list.php +++ b/web/app/controllers/list.php @@ -77,15 +77,7 @@ $pag_config = [ 'page_len' => 20, 'col_names' => [ 'best_ac_submissions.submission_id as submission_id', - 'problems.id as id', - 'problems.is_hidden as is_hidden', - 'problems.title as title', - 'problems.submit_num as submit_num', - 'problems.ac_num as ac_num', - 'problems.zan as zan', - 'problems.difficulty as difficulty', - 'problems.extra_config as extra_config', - 'problems.uploader as uploader', + 'problems.*', ], 'table_name' => [ "problems",