mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core: problemsearch: fix '%' as keyword
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user