How can I add the sort by to the URL via uiState?
I believe this guide can help you: https://www.algolia.com/doc/guides/building-search-ui/going-further/routing-urls/js/
The guide is fairly dense, but your use case should be simpler: the idea is mainly to add a sortBy parameter in the
routing.router function based on the
I did but when I go to that URL it reverses to the default index…which is wrong I need it going to the other index
Hi mgaytan. To help us troubleshoot this, please provide a code snippet. Thank you!