Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SHIFT SEARCH: Default Category Sort Orders #46

Open
simonireilly opened this issue Apr 18, 2019 · 0 comments
Open

SHIFT SEARCH: Default Category Sort Orders #46

simonireilly opened this issue Apr 18, 2019 · 0 comments
Assignees

Comments

@simonireilly
Copy link

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants