core&ui: problem: fix quick search operation

This commit is contained in:
undefined committed 2023-02-15 15:11:16 +08:00
1 parent cafe9246c2
commit 7bce252391
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -153,7 +153,7 @@ export class ProblemMainHandler extends Handler {
if (category.length) this.UiContext.extraTitleContent = category.join(',');
let total = 0;
if (text) {
const result = await search(domainId, q, { skip: (page - 1) * limit });
const result = await search(domainId, q, { skip: (page - 1) * limit, limit });
total = result.total;
pcountRelation = result.countRelation;
if (!result.hits.length) fail = true;