When filtering, it should go back to the first page.
Closed this issue · 1 comments
MarkyMan4 commented
This will help avoid the issue where filtering reduces the page numbers to less than the current page and causes an error. This can't be done by just passing 1 to getArticlePage since the page num is a URL parameter.
MarkyMan4 commented
Fixed by making the apply filters button a link instead of a button. This way it redirects to the first page every time filters are applied.