Skip to content

Filter error on navigated page #401

@AqViolet

Description

@AqViolet

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:

  1. Open any subject (eg: Differential Equations)
  2. Navigate to page 3.
  3. Apply filter 'CAT-1'.
  4. The page number shows page 3 of 2 and no papers are visible on that page.
  5. 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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions