fixes unread page

if you had more than 20 unread topics it was loading 40 now it will only
load 21 then keep loading with infinite loading
v1.18.x
barisusakli 11 years ago
parent 54ba2d2ac3
commit d2033abf96

@ -39,7 +39,7 @@ categoriesController.popular = function(req, res, next) {
categoriesController.unread = function(req, res, next) {
var uid = req.user.uid;
topics.getUnreadTopics(uid, 0, 19, function (err, data) {
topics.getUnreadTopics(uid, 0, 20, function (err, data) {
if(err) {
return next(err);
}

Loading…
Cancel
Save