mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-05 14:20:13 +01:00
closes #1996
This commit is contained in:
@@ -132,7 +132,7 @@ function filterAndRenderCategories(req, res, next, active) {
|
||||
}
|
||||
|
||||
adminController.tags.get = function(req, res, next) {
|
||||
topics.getTags(0, -1, function(err, tags) {
|
||||
topics.getTags(0, 99, function(err, tags) {
|
||||
if (err) {
|
||||
return next(err);
|
||||
}
|
||||
|
||||
@@ -47,14 +47,13 @@ tagsController.getTag = function(req, res, next) {
|
||||
};
|
||||
|
||||
tagsController.getTags = function(req, res, next) {
|
||||
topics.getTags(0, -1, function(err, tags) {
|
||||
topics.getTags(0, 99, function(err, tags) {
|
||||
if (err) {
|
||||
return next(err);
|
||||
}
|
||||
|
||||
res.render('tags', {tags: tags});
|
||||
res.render('tags', {tags: tags, nextStart: 100});
|
||||
});
|
||||
|
||||
};
|
||||
|
||||
module.exports = tagsController;
|
||||
|
||||
Reference in New Issue
Block a user