From 0ac0ffe53dd34d5da27c9baecde65b77f2f98767 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Losada=20Hern=C3=A1ndez?= Date: Sat, 27 Jan 2024 16:25:06 +0100 Subject: [PATCH] limit to 3000 --- server/archive.api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/archive.api.js b/server/archive.api.js index 06d46e145..57c92ab3b 100644 --- a/server/archive.api.js +++ b/server/archive.api.js @@ -7,7 +7,7 @@ const archive = { /* Searches for matching title, also attempts to partial match */ findBrews: async (req, res, next) => { try { - const limit = 100; + const limit = 3000; const brews = await HomebrewModel.find({ title: { $regex: req.params.query, $options: 'i' }, published: true