From 791551098cb4a56edbae824e45b6f0a10138695b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Mon, 27 Feb 2023 09:47:28 -0500 Subject: [PATCH] fix: display 25 topics on category feed --- src/routes/feeds.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/feeds.js b/src/routes/feeds.js index fbd8de7072..e82b344d67 100644 --- a/src/routes/feeds.js +++ b/src/routes/feeds.js @@ -127,7 +127,7 @@ async function generateForCategory(req, res, next) { db.getSortedSetRevIntersect({ sets: ['topics:tid', `cid:${cid}:tids:lastposttime`], start: 0, - stop: 25, + stop: 24, weights: [1, 0], }), ]);