Orcasa-Platform / orcasa-review4c

https://orcasa-review4c.vercel.app/
MIT License
0 stars 0 forks source link

Reset the interventions filters when selecting another land use #19

Closed clementprdhomme closed 1 year ago

clementprdhomme commented 1 year ago

This PR fixes an issue where the interventions filters of a land use are applied to another after switching to it.

How to test

Steps to reproduce

  1. Open Scientific Evidence
  2. Select the “Cropland” land use
  3. Select the “Warming” and the “sub-type 1” interventions
  4. Select the “Forest Land” land use
  5. Open the list of publications

Result

The sentence at the top of the list says:

Showing 10 scientific publications and 6 meta-analyses related to sub-type 1 for cropland.

Expected result

The sentence at the top of the list says:

Showing 10 scientific publications and 6 meta-analyses related to forest land.

Tracking

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
orcasa-review4c ✅ Ready (Inspect) Visit Preview Oct 5, 2023 11:11am