code4romania/impreuna-pentru-sanatate

Reset page when filter is changed on clinics in frontend

Closed this issue · 3 comments

In this page https://impreunapentrusanatate.ro/ro/clinics? if we navigate to a specific page and then apply filters, we might not see results because the page number is kept.
Ex: you are in page 4
You filter by country and city and have only one page o results. Nothing is shown.

We need to reset the page number when a new filter is applied.

Done on development branch

Tested on dev.

Looks good, deployed in production.