Closed edkeeble closed 1 year ago
In order to facilitate #501, we need to encapsulate the search logic in a module similar to https://github.com/NASA-IMPACT/admg-casei/blob/develop/src/utils/use-campaign-list.js
Inputs:
Outputs:
Logic:
The provided array of objects should be filtered to only those matching the entered text on any of the following fields: long_name, short_name, aliases->short_name.
long_name
short_name
aliases->short_name
In order to facilitate #501, we need to encapsulate the search logic in a module similar to https://github.com/NASA-IMPACT/admg-casei/blob/develop/src/utils/use-campaign-list.js
Inputs:
Outputs:
Logic:
The provided array of objects should be filtered to only those matching the entered text on any of the following fields:
long_name
,short_name
,aliases->short_name
.