You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Everything works fine but I have an issue on a custom Widget meant to dispaly the number of results that keeps displaying 0 résultat (it works fine with a single index).
I changed from AlgoliaWidget to AlgoliaIndexWidget and set the index as this :
Thanks a lot for the detailed explanation of your issue. We're working on a new version of InstantSearch which will simplify its customisation and extensibility.
In the meantime, there is another person which had a similar issue to yours, and you can see the answer here #43 (comment). Also make sure you specify the index value before registering your widgets to InstantSearch. I hope that answers your question!
Hi,
I use a collectionView (HitCollectionWidget) to display a collection of products.
I need to sort those items by price.
As seen in #34, i switched to a multi-index configuration in order to be able to switch from the regular index to the price-sorted index.
For some the
HitsCollectionWidget
and theSearchBarWidget
, I had to specify the used index, usinggetSearched
to retrieve the index :Everything works fine but I have an issue on a custom Widget meant to dispaly the number of results that keeps displaying
0 résultat
(it works fine with a single index).I changed from
AlgoliaWidget
toAlgoliaIndexWidget
and set the index as this :Here is the code of this widget :
Did I miss something in the widget configuration ?
Thank you for your help.
The text was updated successfully, but these errors were encountered: