ui: fix the problematic search stringify function

This commit is contained in:
undefined committed 2023-08-10 14:04:00 +08:00
1 parent 81d6582d33
commit f79f3d2d79
6 files changed
+41 -6

No files matched your search

-1
View File
@@ -49,7 +49,6 @@
"require-resolve-hook": "^1.1.0",
"saslprep": "^1.0.3",
"schemastery": "^3.11.1",
"search-query-parser": "^1.6.0",
"semver": "^7.5.4",
"serialize-javascript": "^6.0.1",
"superagent": "^8.0.9",
+1 -1
View File
@@ -5,7 +5,7 @@ import {
} from 'lodash';
import { Filter, ObjectId } from 'mongodb';
import { nanoid } from 'nanoid';
import parser from 'search-query-parser';
import parser from '@hydrooj/utils/lib/search';
import { sortFiles, streamToBuffer } from '@hydrooj/utils/lib/utils';
import {
BadRequestError, ContestNotAttendedError, ContestNotEndedError, ContestNotFoundError, ContestNotLiveError,