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(dynamic facets): update selections of facet order change #393

Merged
merged 1 commit into from
Jun 2, 2023

Conversation

VladislavFitz
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
BC breaks? no
Need Doc update no

Describe your change

The clone of #289 for InstantSearch iOS.

This PR adds recalculation of the selections in the DynamicFacetListViewModel on update of facets values. This is useful when the selected facets are predefined in the FilterState, but no selections update happens until the user's selection.

What problem is this fixing?

The selection state of the DynamicFacetListInteractor is correct even if the filters are preselected in the FilterState.

@VladislavFitz VladislavFitz force-pushed the fix/update-dynamicfacets-on-facet-order branch from 580397e to dc3632f Compare June 2, 2023 14:55
@VladislavFitz VladislavFitz added this pull request to the merge queue Jun 2, 2023
Merged via the queue into master with commit f9c880c Jun 2, 2023
2 checks passed
@VladislavFitz VladislavFitz deleted the fix/update-dynamicfacets-on-facet-order branch June 2, 2023 15:01
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

2 participants