feat: user self_reviews order by start_time desc
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Baoshuo Ren 2022-09-24 18:45:35 +08:00
parent d0be7eac95
commit 70d7a65665
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -22,10 +22,11 @@
<?php
$col_names = array('contest_id');
$from = 'contests_registrants';
$from = 'contests_registrants a left join contests b on a.contest_id = b.id';
$cond = "username = '$username' and has_participated = 1";
$tail = '';
$tail = 'order by start_time desc, id desc';
$config = array(
'pagination_table' => 'contests_registrants',
'page_len' => 10,
'table_classes' => array('table', 'table-bordered', 'table-text-center', 'table-vertical-middle'),
);