Commit d0a19154 authored by Oleksii Savran's avatar Oleksii Savran

Filters moved to Status block

parent c42d866b
......@@ -188,20 +188,6 @@ const AccessionFilters = ({handleSubmit, initialValues, initialize, filterCode,
terms={ terms && terms.get('aegis') }
notNull
/>
</CollapsibleComponentSearch>
<CollapsibleComponentSearch sectionIndex={ sectionIndex++ } title={ t('accessions.public.f.referenced') }>
<StringArrFilter
name="subsets"
label={ t('accessions.model.subsets') }
placeholder={ t('accessions.public.f.subsetsPlaceholder') }
validate={ [Validators.uuid] }
/>
<StringArrFilter
name="datasets"
label={ t('accessions.model.datasets') }
placeholder={ t('accessions.public.f.datasetsPlaceholder') }
validate={ [Validators.uuid] }
/>
<BooleanArrFilter
name="hasDoi"
label={ t('accessions.public.f.hasDoi') }
......@@ -227,6 +213,20 @@ const AccessionFilters = ({handleSubmit, initialValues, initialize, filterCode,
notNull
/>
</CollapsibleComponentSearch>
<CollapsibleComponentSearch sectionIndex={ sectionIndex++ } title={ t('accessions.public.f.referenced') }>
<StringArrFilter
name="subsets"
label={ t('accessions.model.subsets') }
placeholder={ t('accessions.public.f.subsetsPlaceholder') }
validate={ [Validators.uuid] }
/>
<StringArrFilter
name="datasets"
label={ t('accessions.model.datasets') }
placeholder={ t('accessions.public.f.datasetsPlaceholder') }
validate={ [Validators.uuid] }
/>
</CollapsibleComponentSearch>
<CollapsibleComponentSearch sectionIndex={ sectionIndex++ } title={ t('accessions.public.f.climate') }>
<NumberFilter name="geo.climate.bio1" label={ t('accessions.climate.bio1') } />
<NumberFilter name="geo.climate.bio2" label={ t('accessions.climate.bio2') } />
......
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