mitodl / course-search-utils

JS library providing tools to work with MIT Open search
0 stars 0 forks source link

Add delivery as a query/facet option #123

Closed mbertrand closed 1 month ago

mbertrand commented 1 month ago

What are the relevant tickets?

Related to https://github.com/mitodl/hq/issues/5126

Description (What does it do?)

Adds delivery as a search filter and facet, this is meant to replace learning_format

How can this be tested?

See https://github.com/mitodl/mit-open/pull/1567

Additional Context

I needed to add multiple new fields to resourceSearchValidators, and keep learning_format around (for now) to avoid typecheck errors. I think we will need another update to open-api-axios (after https://github.com/mitodl/mit-open/pull/1567 is released) before learning_format can be removed here.