BuildCanada / BuildCanada/CanadaSpends

Pagination breaks the filters

Open
#238 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
84
Forks
35
Avg merge
5h 30m
Merged PRs (30d)
4

Description

# Steps to reproduce:

Set filters (Eg. province and has-statements)

https://hub.buildcanada.com/bodies?search=&type=&province_id=9&has_statements=true

Then, click "page 2" at the bottom of the page.

Filters are reset.

# Expected Results.

Filters are not reset, and instead persist through pagination.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the bodies page entry point shown in the reproduction URL, with the province and has-statements filters enabled. Trace how clicking page 2 builds the next URL or request and compare it with the filtered first-page state. Done means changing pages preserves all selected filters and the reproduction steps no longer reset them.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.