Browse Source

Board search, removed limit of 10 cards

Martin Filser 3 năm trước cách đây
mục cha
commit
20415b881c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      models/boards.js

+ 1 - 1
models/boards.js

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