Commit ae29e033 authored by Matija Obreza's avatar Matija Obreza

Fix: browse species at institute

parent 2442f962
......@@ -135,7 +135,7 @@ class BrowsePage extends React.Component<IBrowsePageProps, any> {
private applyFilterForInstituteSpecies = () => {
const { accession: {details: accession}, applyFilters } = this.props;
const filter = {holder: {code: [ accession.institute.code ]}, taxa: { genus: [ accession.taxonomy.genus ], species: [ accession.taxonomy.species ] }};
const filter = { institute: { code: [accession.institute.code] }, taxonomy: { genusSpecies: [ `${accession.taxonomy.genus} ${accession.taxonomy.species}` ] } };
applyFilters(filter);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment