Commit 99cb6638 authored by Oleksii Savran's avatar Oleksii Savran Committed by Viacheslav Pavlov

Accession filter groups

parent 5cf11271
......@@ -464,7 +464,8 @@
"aegis": "AEGIS accession",
"referenced": "Referenced accessions",
"subsetsPlaceholder": "UUID of a subset",
"datasetsPlaceholder": "UUID of a dataset"
"datasetsPlaceholder": "UUID of a dataset",
"holdingInstitute": "Holding institute"
},
"p": {
"display": {
......
......@@ -34,7 +34,8 @@
"aegis": "AEGIS accession",
"referenced": "Referenced accessions",
"subsetsPlaceholder": "UUID of a subset",
"datasetsPlaceholder": "UUID of a dataset"
"datasetsPlaceholder": "UUID of a dataset",
"holdingInstitute": "Holding institute"
},
"p": {
"display": {
......
......@@ -53,6 +53,8 @@ const AccessionFilters = ({handleSubmit, initialValues, initialize, filterCode,
</InputAdornment>
}
/>
</CollapsibleComponentSearch>
<CollapsibleComponentSearch sectionIndex={ sectionIndex++ } title={ t('accessions.public.f.holdingInstitute') }>
<AutocompleteFilter
filterCode={ filterCode }
autocomplete={ autocomplete }
......@@ -72,6 +74,8 @@ const AccessionFilters = ({handleSubmit, initialValues, initialize, filterCode,
InputLabelProps={ { shrink: true } }
validate={ [Validators.uppercase] }
/>
</CollapsibleComponentSearch>
<CollapsibleComponentSearch sectionIndex={ sectionIndex++ } title={ t('accessions.common.acceNumb') }>
<StringFilter name="accessionNumber" searchType="contains" label={ t('accessions.common.acceNumb') } placeholder="IRGC"/>
<NumberFilter name="seqNo" label={ t('accessions.public.f.seqNumber') } />
</CollapsibleComponentSearch>
......
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