atom icon indicating copy to clipboard operation
atom copied to clipboard

Add facet filters to accession browse page

Open danloveg opened this issue 4 months ago • 3 comments

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

danloveg avatar Oct 23 '25 16:10 danloveg

I also fixed the Export CSV button so that it works by exporting only the filtered accessions.

danloveg avatar Oct 23 '25 18:10 danloveg

Hey @danloveg , thanks for this! We want to give it a close look over since it changes how accession searching works, but will definitely consider for 2.11.

sromkey avatar Nov 18 '25 19:11 sromkey

Hey @danloveg , thanks for this! We want to give it a close look over since it changes how accession searching works, but will definitely consider for 2.11.

Sounds good, thanks for the update

danloveg avatar Nov 18 '25 19:11 danloveg