Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(insights): don't reset page #4655

Merged
merged 3 commits into from Feb 17, 2021
Merged

fix(insights): don't reset page #4655

merged 3 commits into from Feb 17, 2021

Conversation

Haroenv
Copy link
Contributor

@Haroenv Haroenv commented Feb 17, 2021

Summary

helper.setQueryParameter resets the page, unlike helper.state.setQueryParameter

Also added a new test for the correct state of the page in both cases of setQueryParameter.

see algolia/vue-instantsearch#888 (doesn't fix that issue, but this issue is uncovered there)

Result

using insights middleware no longer resets the page

helper.setQueryParameter resets the page, unlike helper.state.setQueryParameter

Also added a new test for the correct state of the page in both cases of setQueryParameter.

see algolia/vue-instantsearch#888 (doesn't fix that issue, but this issue is uncovered there)
@codesandbox-ci
Copy link

codesandbox-ci bot commented Feb 17, 2021

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 85bef31:

Sandbox Source
InstantSearch.js Configuration

Copy link
Contributor

@eunjae-lee eunjae-lee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants