What happened?
Filters (Level, Repos, State) and pagination (Next/Prev) are currently buggy on the /issues page:
-
Stuck Filters: Once you set any filter (like choosing a repo or L1 difficulty), selecting "ALL LEVELS" or "ALL REPOS" does not clear the filter. The URL keeps the parameters (e.g. ?difficulty=E), and the list stays filtered.
-
Broken Pagination: If you navigate pages, the Next/Prev buttons get stuck or use stale values because they don't capture the updated URL search parameters.
Steps to Reproduce
- Go to /issues.
- Select any filter, like set Difficulty to "L1". (URL updates to /issues?difficulty=E).
- Click the dropdown again and select "ALL LEVELS".
- The list remains filtered and difficulty=E stays in the URL.
- Click NEXT to go to page 2, and then try changing a filter. The query parameters will overwrite each other incorrectly.
Expected Behavior
- Resetting a filter to "ALL LEVELS" or "ALL REPOS" should clear the parameter from the URL query string.
- When navigating pages (Next/Prev) or changing filters, all active filter parameters should be preserved without getting overwritten or lost.
Where does this occur?
Other
Environment
No response
Screenshots / Logs
No response
What happened?
Filters (Level, Repos, State) and pagination (Next/Prev) are currently buggy on the /issues page:
Stuck Filters: Once you set any filter (like choosing a repo or L1 difficulty), selecting "ALL LEVELS" or "ALL REPOS" does not clear the filter. The URL keeps the parameters (e.g. ?difficulty=E), and the list stays filtered.
Broken Pagination: If you navigate pages, the Next/Prev buttons get stuck or use stale values because they don't capture the updated URL search parameters.
Steps to Reproduce
Expected Behavior
Where does this occur?
Other
Environment
No response
Screenshots / Logs
No response