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): recalculate selections on facets order change #289

Merged
merged 2 commits into from
May 30, 2023

Conversation

VladislavFitz
Copy link
Contributor

Summary

This PR adds recalculation of the selections in the DynamicFacetListInteractor 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.

Result

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

@VladislavFitz VladislavFitz requested a review from aallam May 25, 2023 16:49
@VladislavFitz VladislavFitz merged commit 168505a into master May 30, 2023
@VladislavFitz VladislavFitz deleted the fix/update-dynamicfacets-on-facet-order branch May 31, 2023 14:57
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.

2 participants