core: problemsearch: fix '%' as keyword

This commit is contained in:
undefined committed 2023-01-02 22:14:41 +08:00
1 parent 34b0cc4d14
commit 45c6773513
2 files changed
+3 -3

No files matched your search

@@ -90,7 +90,7 @@ export default new AutoloadPage('omnibar', () => {
}
setSearching?.(true);
[{ pdocs, psdict }, udocs] = await Promise.all([
request.get(`/d/${UiContext.domainId}/p?q=${encodeURIComponent(query)}&limit=10`),
request.get(`/d/${UiContext.domainId}/p`, { q: query, limit: 10 }),
api(gql`
users(search: ${query}) {
_id