mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
fix: display 25 topics on category feed
This commit is contained in:
@@ -127,7 +127,7 @@ async function generateForCategory(req, res, next) {
|
|||||||
db.getSortedSetRevIntersect({
|
db.getSortedSetRevIntersect({
|
||||||
sets: ['topics:tid', `cid:${cid}:tids:lastposttime`],
|
sets: ['topics:tid', `cid:${cid}:tids:lastposttime`],
|
||||||
start: 0,
|
start: 0,
|
||||||
stop: 25,
|
stop: 24,
|
||||||
weights: [1, 0],
|
weights: [1, 0],
|
||||||
}),
|
}),
|
||||||
]);
|
]);
|
||||||
|
|||||||
Reference in New Issue
Block a user