Facilitated Search
Fix search from entry page.
- See https://gitlab.croptrust.org/genesys-pgr/catalog/genesys-catalog-ui/issues/311 that resulted
/dataset/suggest
in the API v1SearchController
.
We need an API endpoint on the server that will return matches for search string from different entities and then apply them to the accession passport data (MCPD) and catalog entities at /suggest
in the SearchController
.
- Matches of
Country
fit:accession.institute.country
,accession.countryOfOrigin
- Matches of
FaoInstitute
fit:accession.institute
,accession.donor
,accession.duplSite
- Matches of
Descriptor
fit: Genesys Passport data descriptors (a specialDescriptorList
).