Skip to content

UX: Filter change does not reset pagination to page 1, leading to empty results #86

@gammaploid

Description

@gammaploid

There is a UX bug with the filtering and pagination logic on the project listing page.

Steps to Reproduce:
Navigate to the project listing page.

  • Apply a filter that returns enough results to span multiple pages (e.g., 3 pages).
  • Navigate to a later page (e.g., Page 3).
  • Change the filter to one that returns fewer results (e.g., only 1 page worth of projects).
  • Observe the result — the current page remains at Page 3, which now shows no results.

Expected Behaviour:
When a new filter is applied, the pagination should reset to Page 1 to reflect the newly filtered results.

Actual Behaviour:
The pagination remains on the previously selected page (e.g., Page 3), even if that page does not exist for the current filter's result set, resulting in an empty view.

Impact:
This causes confusion to users, as it appears that the filter returns no results, when in fact, valid results exist on earlier pages.

I am happy to implement the fix if you can assign me. Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions