@ -148,7 +148,7 @@ function filterAndRenderCategories(req, res, next, active) {
}
adminController.tags.get = function(req, res, next) {
topics.getTags(0, 99, function(err, tags) {
topics.getTags(0, 199, function(err, tags) {
if (err) {
return next(err);
@ -49,7 +49,7 @@ tagsController.getTag = function(req, res, next) {
};
tagsController.getTags = function(req, res, next) {
topics.getTags(0, 100, function(err, tags) {
@ -119,8 +119,8 @@ module.exports = function(Topics) {
db.sortedSetRemove('tags:topic:count', tag);
Topics.getTags = function(start, count, callback) {
db.getSortedSetRevRangeByScoreWithScores('tags:topic:count', start, count, '+inf', 1, function(err, tags) {
Topics.getTags = function(start, end, callback) {
db.getSortedSetRevRangeWithScores('tags:topic:count', start, end, function(err, tags) {
return callback(err);