Skip to content

Node.js based forum software built for the modern web

removed slice

barisusaklib2f8a65bc877
diff --git a/src/controllers/categories.js b/src/controllers/categories.js
index 398ec070aa..3f059b80af 100644
--- a/src/controllers/categories.js
+++ b/src/controllers/categories.js
@@ -47,7 +47,7 @@ categoriesController.unread = function(req, res, next) {
if (err) {
return next(err);
}
- data.topics = data.topics.slice(0, parseInt(meta.config.topicsPerList, 10) || 20);
+
res.render('unread', data);
});
};