pull # of recent replies based on settings

v1.18.x
psychobunny 11 years ago
parent fb53e89023
commit d6c7551120

@ -55,7 +55,7 @@ var path = require('path'),
});
function iterator(category, callback) {
categories.getRecentReplies(category.cid, 2, function (err, posts) {
categories.getRecentReplies(category.cid, category.numRecentTopics, function (err, posts) {
category.posts = posts;
category.post_count = posts.length > 2 ? 2 : posts.length;
callback(null);

Loading…
Cancel
Save