mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 14:05:46 +01:00
pagination on posts
This commit is contained in:
@@ -74,7 +74,13 @@ var DebugRoute = function(app) {
|
||||
});
|
||||
|
||||
app.get('/test', function(req, res) {
|
||||
res.send();
|
||||
|
||||
/*topics.getTopicPosts2(2, 0, 10, 5, function(err, data) {
|
||||
res.json(data);
|
||||
})*/
|
||||
topics.getTopicWithPosts(2, 1, 0, -1, true, function (err, topicData) {
|
||||
res.json(topicData);
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user