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

This commit is contained in:
Julian Lam
2014-02-09 12:35:26 -05:00
parent 7d736f9352
commit 62f1b8b8f4

View File

@@ -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({