esgf2-us / metagrid

ESGF Search UI
https://metagrid.readthedocs.io/en/latest/
MIT License
16 stars 6 forks source link

the facet selections did not follow the selections of saved seaches #652

Open minxu74 opened 3 months ago

minxu74 commented 3 months ago

Describe the bug

After applying a saved search by clicking the magnifier icon, the facet selections on left panel were not selected following the selections of the saved search.

Desktop (please complete the following information): Windows 10

To Reproduce

  1. log in https://aims2.llnl.gov/ using your account
  2. select cmip6 project
  3. select "ScenarioMIP" in Activity ID
  4. click "save search" on the top menu of right panel
  5. wait for 10-15 minutes or log in back to the account next day (important! if you apply the search that you saved a moment ago, the facet selections do follow the selections of the search)
  6. click "saved searches"
  7. find the search, click the magnifier icon on the left of the JSON icon.
  8. then look at the Activity ID, the "ScenarioMIP" is not selected.

Expected behavior

If users apply a saved search, the facet selections are expected to select all choices that users made in that search.

Screenshots

Additional context