core&ui: record_detail: fix filterLang=waiting

This commit is contained in:
undefined committed 2023-05-01 01:00:10 +08:00
1 parent 2f2ef471f7
commit ada5366334
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -77,7 +77,7 @@ class RecordListHandler extends ContestDetailBaseHandler {
else invalid = true;
}
if (lang) q.lang = lang;
if (status) q.status = status;
if (typeof status === 'number') q.status = status;
if (all) {
this.checkPriv(PRIV.PRIV_MANAGE_ALL_DOMAIN);
delete q.contest;