Skip to content

SHIFT SEARCH: Default Category Sort Orders #46

@simonireilly

Description

@simonireilly

Feature

When on a category the API will return the default index for the category as default_sort_order.

We must ensure that this is set correctly in the category page.

We should use the Algolia index Widget to change the index:

https://www.algolia.com/doc/api-reference/widgets/index-widget/react/

<InstantSearch indexName={default_index} >
  <Index indexName={default_sort_order || default_index} >
</InstantSearch>

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions