Pārlūkot izejas kodu

Board search, removed limit of 10 cards

Martin Filser 3 gadi atpakaļ
vecāks
revīzija
20415b881c
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      models/boards.js

+ 1 - 1
models/boards.js

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