Skip to content

Node.js based forum software built for the modern web

retrieving only the latest 25 posts in category rss feed now - issue #973

Julian Lam62f1b8b8f432
diff --git a/src/feed.js b/src/feed.js
index 551d6ee5aa..892e9a4608 100644
--- a/src/feed.js
+++ b/src/feed.js
@@ -88,7 +88,7 @@
};
Feed.updateCategory = function (cid, callback) {
- categories.getCategoryById(cid, 0, -1, 0, function (err, categoryData) {
+ categories.getCategoryById(cid, 0, 25, 0, function (err, categoryData) {
if (err) return callback(new Error('category-invalid'));
var feed = new rss({