TAMULib / scholars-angular

MIT License
1 stars 1 forks source link

Facet filters in search results goes blank when searched multiple times #360

Open C2H5-M opened 3 months ago

C2H5-M commented 3 months ago

Oof. I found another bug, replicated in both Scholars and demos.
Might happen within all facets, have only checked Author and Author organization so far

  1. search for "" in Scholars search
  2. select "Scholarly Works" tab
  3. Under "Author" facet, click "more"
  4. type "Hahn" in the search filter
  5. Click "close"
  6. Click the "more" button again
  7. type a different name, like "Mejia"
  8. The filter is list is now blank

Image

wwelling commented 3 months ago

Here is where the close model call back is at. Currently only dispatching close dialog action and not resetting the state.

https://github.com/TAMULib/scholars-angular/blob/tamu-main/src/app/shared/dialog/facet-entries/facet-entries.component.ts#L134