Skip to content

Never hide selected facet#125

Merged
cigolpl merged 1 commit intoitemsapi:masterfrom
SergeyRe:donthide
Apr 17, 2023
Merged

Never hide selected facet#125
cigolpl merged 1 commit intoitemsapi:masterfrom
SergeyRe:donthide

Conversation

@SergeyRe
Copy link
Contributor

@SergeyRe SergeyRe commented Apr 9, 2023

Hide zero_count_doc facet only if it is not selected
Sorry , the easiest way to explain why its important -to show this case on my project using itemsjs
Nobel Prize Laureats 2.0
Please first select 2 citizenships: Japan & Sweden , then select language spoken: japanese
You will see that there is no Swedish citizen speaking japanese - zero count facet -but i show it -as it was selected before -so user have possibility to unselect it , otherwise this will be invisible and unselectable selection

Hide zero_count_doc facet only if it is not selected
@cigolpl cigolpl merged commit 937e088 into itemsapi:master Apr 17, 2023
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