浏览代码

Board search, remove limit of 10 lists

Martin Filser 3 年之前
父节点
当前提交
5eb4cff991
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      models/boards.js

+ 1 - 1
models/boards.js

@@ -950,7 +950,7 @@ Boards.helpers({
     } else {
       query.type = { $nin: ['template-list'] };
     }
-    const projection = { limit: 10, sort: { createdAt: -1 } };
+    const projection = { sort: { createdAt: -1 } };
 
     if (term) {
       const regex = new RegExp(term, 'i');