Skip to content

Add facet filters to accession browse page

Closes #2159

Adds filters on the accession browse page for the following accession fields:

  • Acquisition type
  • Resource type
  • Processing status
  • Processing priority
  • Donor name
  • Creator name

The first four filters are made possible by #2004, since facet filters use the elastic search index to filter the query.

I was able to remove the query setup from the AccessionBrowseAction::execute function by inheriting from DefaultBrowseAction which already does all of the same query setup.

These changes will also make it easier to implement an advanced search form for accessions in the future if that's a desired change. I'm passing an empty list to the addAdvancedSearchFilters function for now.

accession-facets

Merge request reports

Loading