Revert "fix: make sort work with world filters"

This reverts commit cd8a91fe89.
This commit is contained in:
Julian Lam
2024-04-25 14:30:38 -04:00
parent ed84eed8a9
commit 7180819c21
2 changed files with 1 additions and 3 deletions

View File

@@ -90,8 +90,6 @@ controller.list = async function (req, res) {
}
}
data.filter = req.params.filter || undefined;
const pageCount = Math.max(1, Math.ceil(data.topicCount / topicsPerPage));
data.pagination = pagination.create(page, pageCount, req.query);
helpers.addLinkTags({