mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-28 02:09:52 +01:00
fix pagination querystring on /recent
This commit is contained in:
@@ -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]]'}]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user