Closed ChristopherChudzicki closed 5 months ago
This PR:
useSearchQueryParams
useResourceSearchParams
useContentFileSearchParams
/api/v1/learning_resource_search
/api/v1/content_file_search
AvailableFacets
FacetDisplay
Test by instructions in https://github.com/mitodl/mit-open/pull/675
What are the relevant tickets?
Description (What does it do?)
This PR:
useSearchQueryParams
, which has not been used in any production codeuseResourceSearchParams
,useContentFileSearchParams
. These hooks:/api/v1/learning_resource_search
or/api/v1/content_file_search
based on a URLSearchParams object.AvailableFacets
, a portion of the existingFacetDisplay
component.How can this be tested?
Test by instructions in https://github.com/mitodl/mit-open/pull/675