NASA-IMPACT / admg-casei

ADMG Inventory
https://impact.earthdata.nasa.gov/casei/
Apache License 2.0
1 stars 0 forks source link

General search filtering module #502

Closed edkeeble closed 1 year ago

edkeeble commented 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.