-
Notifications
You must be signed in to change notification settings - Fork 516
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(url-sync): adds indexName in the helper configuration
This solves a bug found using safari and that may or may not break an implementation based on InstantSearch. Safari triggers a pop state event on load, which triggers a new search. But at this point the index is not in the initial configuration, so this search will fail with a 400, indexName not valid. With this fix the value for the index name is taken from the parameters and its value is added to the initial search configuration.
- Loading branch information
Alexandre Stanislawski
committed
Dec 10, 2015
1 parent
b5db072
commit e50bafd
Showing
3 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters