Commit f533b93c authored by Viacheslav Pavlov's avatar Viacheslav Pavlov
Browse files

Accession filters: move historic

parent ff939438
......@@ -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