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

If number of items in a Solr facet is zero, do not display the facet in the UI #124

Open
tchaddad opened this issue Oct 21, 2014 · 1 comment

Comments

@tchaddad
Copy link
Collaborator

This is especially relevant when we filter results by source, then by category. For example:

This is not ideal. Only facets with contents that are relevant (non-zero) should be visible for filtering.

@tchaddad
Copy link
Collaborator Author

I should add that hiding of "zero" facets appears to be working as expected if the user starts filtering by Issue or Category. However the behavior is different if the user begins to filter by first choosing a Source. If the user starts with Source, the zero facet items are not removed from the UI.

This elevates this issue to bug status.

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

No branches or pull requests

1 participant