Commit e1da1b88 authored by Maxym Borodenko's avatar Maxym Borodenko
Browse files

Merge branch '103-accession-filters-move-historic' into 'master'

Resolve "Accession filters: move historic"

Closes #103

See merge request genesys-pgr/genesys-ui!95
parents ff939438 f533b93c
......@@ -16,6 +16,9 @@ const AccessionFilters = ({handleSubmit, initialValues, initialize, ...other}) =
// console.log('AccessionFilters', initialValues);
return (
<FiltersBlock title="Filter accessions" handleSubmit={ handleSubmit } initialize={ initialize } { ...other }>
<CollapsibleComponentSearch title="Historic records">
<BooleanFilter name="historic"/>
</CollapsibleComponentSearch>
<CollapsibleComponentSearch title="Text search">
<StringArrFilter name="holder.code" label="Institute code" placeholder="NGA039"/>
<StringFilter name="acceNumb" searchType="contains" label="Accession number" placeholder="IRGC"/>
......@@ -42,7 +45,6 @@ const AccessionFilters = ({handleSubmit, initialValues, initialize, ...other}) =
<StringArrFilter name="storage" options={ Accession.STORAGE } />
</CollapsibleComponentSearch>
<CollapsibleComponentSearch title="Status">
<BooleanFilter name="historic" label="Historic records" />
<BooleanFilter name="available" label="Available for distribution" />
<BooleanFilter name="mlsStatus" label="Included in MLS" />
<BooleanFilter name="sgsv" label="Backed up in SGSV" />
......
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