Node.js based forum software built for the modern web
Change Feed.forTopic to cap at 25 items, not infinite
Micheil Smithffe798b494a6
diff --git a/src/feed.js b/src/feed.jsindex f8dbb9f107..a3dae77666 100644--- a/src/feed.js+++ b/src/feed.js@@ -16,7 +16,7 @@};Feed.forTopic = function (tid, callback) {- topics.getTopicWithPosts(tid, 0, 0, -1, true, function (err, topicData) {+ topics.getTopicWithPosts(tid, 0, 0, 25, true, function (err, topicData) {if (err) {return callback(new Error('topic-invalid'));}