Commit 56ae3af6 authored by Matija Obreza's avatar Matija Obreza

Merge branch '704-accession-number-filter' into 'master'

Accession number filter

Closes #704

See merge request genesys-pgr/genesys-ui!686
parents 03cd229d 591e2424
......@@ -76,7 +76,12 @@ const AccessionFilters = ({handleSubmit, initialValues, initialize, filterCode,
/>
</CollapsibleComponentSearch>
<CollapsibleComponentSearch sectionIndex={ sectionIndex++ } title={ t('accessions.common.acceNumb') }>
<StringFilter name="accessionNumber" searchType="contains" label={ t('accessions.common.acceNumb') } placeholder="IRGC"/>
<StringArrFilter
name="accessionNumbers"
label={ t('accessions.common.acceNumb') }
placeholder="IRGC 10001"
classes={ {propertiesRowLabel: 'font-italic'} }
/>
<NumberFilter name="seqNo" label={ t('accessions.public.f.seqNumber') } />
</CollapsibleComponentSearch>
<CollapsibleComponentSearch sectionIndex={ sectionIndex++ } title={ t('common:f.dateSearch') }>
......
......@@ -29,7 +29,6 @@ class StringList extends React.Component<IStringListProps> {
public constructor(props, context) {
super(props, context);
console.log('constructor state: ', this.state);
let { input: { value: doList }, notInput: { value: notList } } = this.props;
doList = doList || [];
......
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