Commit 0f0a8e0a authored by Matija Obreza's avatar Matija Obreza

Additional accession filters

parent a4846fee
......@@ -62,6 +62,7 @@
"dateSearch": "Date search",
"fromIncluding": "At least (min)",
"toIncluding": "At most (max)",
"createdDate": "Created on",
"lastModifiedDate": "Last modified date",
"textSearch": "Text search",
"keyword": "Keyword search"
......
......@@ -485,6 +485,11 @@
"acceNumb": "Accession number",
"countryOfOrigin": "Country of origin",
"instituteCode": "Institute code",
"institute": {
"country": {
"iso3": "Country of holding institute"
}
},
"taxonomy": "Taxonomy",
"genus": "Genus",
"species": "Species",
......
......@@ -142,6 +142,11 @@
"acceNumb": "Accession number",
"countryOfOrigin": "Country of origin",
"instituteCode": "Institute code",
"institute": {
"country": {
"iso3": "Country of holding institute"
}
},
"taxonomy": "Taxonomy",
"genus": "Genus",
"species": "Species",
......
......@@ -23,10 +23,12 @@ const AccessionFilters = ({handleSubmit, initialValues, initialize, t, ...other}
</CollapsibleComponentSearch>
<CollapsibleComponentSearch title={ t('common:f.textSearch') }>
<StringArrFilter name="holder.code" label={ t('accessions.common.instituteCode') } placeholder="NGA039"/>
<StringArrFilter name="holder.country.iso3" label={ t('accessions.model.institute.country.iso3') } placeholder="NGA"/>
<StringFilter name="acceNumb" searchType="contains" label={ t('accessions.common.acceNumb') } placeholder="IRGC"/>
<NumberFilter name="seqNo" label={ t('accessions.public.f.seqNumber') } />
</CollapsibleComponentSearch>
<CollapsibleComponentSearch title={ t('common:f.dateSearch') }>
<DateFilter name="createdDate" label={ t('common:f.createdDate') }/>
<DateFilter name="lastModifiedDate" label={ t('common:f.lastModifiedDate') }/>
</CollapsibleComponentSearch>
<CollapsibleComponentSearch title={ t('accessions.public.f.crop') }>
......
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