-
Notifications
You must be signed in to change notification settings - Fork 43
Description
Describe the bug
If a particular subject has multiple pages of all exam papers, navigating to page 2 or further and applying filters leads to no papers being visible. Issue seems to be with how page navigation logic works.
To Reproduce
Steps to reproduce the behavior:
- Open any subject (eg: Differential Equations)
- Navigate to page 3.
- Apply filter 'CAT-1'.
- The page number shows page 3 of 2 and no papers are visible on that page.
- See error
Expected behavior
If filters are applied after navigating to further pages, it should bring you back to page 1 first and then showcase you the filters.
Desktop (please complete the following information):
- Device: MacBook
- OS: macOS 26
- Browser: Safari
Additional context
Add any other context about the problem here.
Navigated page is consistent across subjects. Let's say you navigated to page 2 on compiler design and the looked up differential equations, you'll land on page 2 of differential equations and not page 1 even though you didn't navigate to page 2 for the current subject.