Node.js based forum software built for the modern web
display all categories in custom home
Barış Soner Uşaklı3a6871fd65e6
diff --git a/src/controllers/admin.js b/src/controllers/admin.jsindex 07c7f9f1da..bf9b0f0087 100644--- a/src/controllers/admin.js+++ b/src/controllers/admin.js@@ -350,7 +350,7 @@ adminController.navigation.get = function(req, res, next) {adminController.homepage.get = function(req, res, next) {async.waterfall([function(next) {- db.getSortedSetRange('cid:0:children', 0, -1, next);+ db.getSortedSetRange('categories:cid', 0, -1, next);},function(cids, next) {privileges.categories.filterCids('find', cids, 0, next);