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 eab40c9..56fddef 100644
--- a/lib/serve.js
+++ b/lib/serve.js
@@ -1274,12 +1274,14 @@ Serve.prototype.renderThreadPaginated = function (opts, feedId, q) {
lt: num,
gt: null,
forwards: null,
+ filter: opts.filter,
}))
} else {
cb(null, links({
lt: null,
gt: num,
forwards: 1,
+ filter: opts.filter,
}))
}
},
@@ -1293,12 +1295,14 @@ Serve.prototype.renderThreadPaginated = function (opts, feedId, q) {
lt: null,
gt: num,
forwards: 1,
+ filter: opts.filter,
}))
} else {
cb(null, links({
lt: num,
gt: null,
forwards: null,
+ filter: opts.filter,
}))
}
},
@@ -1308,12 +1312,14 @@ Serve.prototype.renderThreadPaginated = function (opts, feedId, q) {
gt: null,
lt: opts.gt + 1,
forwards: null,
+ filter: opts.filter,
}))
} else {
cb(null, links({
gt: opts.lt - 1,
lt: null,
forwards: 1,
+ filter: opts.filter,
}))
}
}