mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 22:15:48 +01:00
pass data to getCategoryTopics, renamed end to stop
This commit is contained in:
@@ -232,14 +232,14 @@ categoriesController.get = function(req, res, next) {
|
||||
}
|
||||
|
||||
var start = (page - 1) * settings.topicsPerPage + topicIndex,
|
||||
end = start + settings.topicsPerPage - 1;
|
||||
stop = start + settings.topicsPerPage - 1;
|
||||
|
||||
next(null, {
|
||||
cid: cid,
|
||||
set: set,
|
||||
reverse: reverse,
|
||||
start: start,
|
||||
end: end,
|
||||
stop: stop,
|
||||
uid: uid
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user