Explorar el Código

Board search, remove limit of 10 lists

Martin Filser hace 3 años
padre
commit
5eb4cff991
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      models/boards.js

+ 1 - 1
models/boards.js

@@ -950,7 +950,7 @@ Boards.helpers({
     } else {
     } else {
       query.type = { $nin: ['template-list'] };
       query.type = { $nin: ['template-list'] };
     }
     }
-    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');