Skip to content

Node.js based forum software built for the modern web

only get 25 posts

barisusakli51cafe075c46
diff --git a/src/categories/activeusers.js b/src/categories/activeusers.js
index 6dbee43191..2cd10ef2b8 100644
--- a/src/categories/activeusers.js
+++ b/src/categories/activeusers.js
@@ -8,7 +8,7 @@ module.exports = function(Categories) {
Categories.getActiveUsers = function(cid, callback) {
async.waterfall([
function(next) {
- db.getSortedSetRevRange('categories:recent_posts:cid:' + cid, 0, 49, next);
+ db.getSortedSetRevRange('categories:recent_posts:cid:' + cid, 0, 24, next);
},
function(pids, next) {
var keys = pids.map(function(pid) {