You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For hierarchical facets: isFilterSelected returns true if a filter exists that matches the same identifier + value, regardless of what level the filter is defined.
Details
Assume the (terrible, but unfortunately real) use case:
If the active filter is { identifier: 'category', value: 'Instrument', level: 1 } then a potential filter of { identifier: 'category', value: 'Instrument', level: 2 } will also be considered selected.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
The problem
For hierarchical facets:
isFilterSelected
returns true if a filter exists that matches the same identifier + value, regardless of what level the filter is defined.Details
Assume the (terrible, but unfortunately real) use case:
If the active filter is
{ identifier: 'category', value: 'Instrument', level: 1 }
then a potential filter of{ identifier: 'category', value: 'Instrument', level: 2 }
will also be considered selected.The text was updated successfully, but these errors were encountered: