From 5eb4cff991274eada543ebf726f518de5cf560c8 Mon Sep 17 00:00:00 2001 From: Martin Filser Date: Thu, 21 Oct 2021 13:20:10 +0200 Subject: [PATCH] Board search, remove limit of 10 lists --- models/boards.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/boards.js b/models/boards.js index eb21973db..cdf0d9f6d 100644 --- a/models/boards.js +++ b/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');