Open MoritzLost opened 2 years ago
Good idea! Thanks for the issue :)
Thank you @MoritzLost Spent few hours trying to achieve the exact same thing and then stumbled upon this issue. Strange that they never documented it :/
It should be added, I'm hoping someone has time to contribute to add that small piece of documentation.
Description
I recently had some issues figuring out how to configure a custom
sort
parameter statically – without using the sortBy widget. As per this issue, the solution is to add the sort parameter directly to the index name (indexName: 'my_index:my_custom_param:asc'
). This isn't documented anywhere as far as I can tell. It would be great to mention this in the README and provide examples for instantsearch-js as well as the InstantSearch libraries for React/Vue/etc.