-
Notifications
You must be signed in to change notification settings - Fork 530
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ssr): correctly pass scopedResults.results (algolia/vue-instantse…
…arch#943) * fix(ssr): correctly pass scopedResults.results We retrieve the scoped results from the parent index in the initial render on server & client, however since the index widget doesn't have its results from a search query yet, `getResults` (used inside getScopedResults) will be `null` (derivedHelper && derivedHelper.lastResults). The solution is to augment the retrieved scoped results with the actual search results from __initialResults, like done for `results`. fixes algolia/vue-instantsearch#940 * compat
- Loading branch information
Showing
2 changed files
with
17 additions
and
13 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