aboutsummaryrefslogtreecommitdiff
path: root/lib/serve.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/serve.js')
-rw-r--r--lib/serve.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/serve.js b/lib/serve.js
index 9b4dcd4..e9b8f2b 100644
--- a/lib/serve.js
+++ b/lib/serve.js
@@ -1343,6 +1343,12 @@ Serve.prototype.renderThreadPaginated = function (opts, feedId, q) {
}
return pull(
+ self.app.filterMessages({
+ feed: opts && opts.feed,
+ msgId: opts && opts.msgId,
+ filter: this.query.filter,
+ limit: Number(this.query.limit) || 12,
+ }),
paginate(
function onFirst(msg, cb) {
var num = feedId ? msg.value.sequence :