Skip to content

Node.js based forum software built for the modern web

fix pagination querystring on /recent

barisusakli556dfa51d94a
diff --git a/src/controllers/recent.js b/src/controllers/recent.js
index 93ca83c6bc..5e5ec06605 100644
--- a/src/controllers/recent.js
+++ b/src/controllers/recent.js
@@ -95,7 +95,7 @@ recentController.get = function (req, res, next) {
return filter && filter.selected;
});
- data.pagination = pagination.create(page, pageCount);
+ data.pagination = pagination.create(page, pageCount, req.query);
if (req.path.startsWith('/api/recent') || req.path.startsWith('/recent')) {
data.breadcrumbs = helpers.buildBreadcrumbs([{text: '[[recent:title]]'}]);
}