mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 14:05:46 +01:00
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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user