-
Notifications
You must be signed in to change notification settings - Fork 23
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
UI issue when search returns 0 results with filtered facets #111
Comments
* Shows top-level selected values from previously selected facets that have zero results. (closes inveniosoftware#111)
This is addressed by #117. The changes involved are actually part of the default It works for the use-case mentioned by OP (i.e. top-level facets) but doesn't work for deeply nested aggregations, since the hierarchy is not persisted in any way in the parameter... The changes involved to make this possible might include a serious reworking of how configuration or search parameter state is stored for facets/aggregations. |
* Shows top-level selected values from previously selected facets that have zero results. (closes inveniosoftware#111)
* Shows top-level selected values from previously selected facets that have zero results. (addresses inveniosoftware#111)
* Shows top-level selected values from previously selected facets that have zero results. (addresses #111)
Can this be closed? |
The screenshot below shows a problematic state for the search ui.
Having narrowed by section=an at the previous step and entering a new search with 0 results in section=an. However results exist in other sections, it is not apparent (other than in the URL) that you are still filtering for section=an
I'm not sure what the best solution here is - perhaps showing "an (0)" selected in the facet control?
You can re-create this at http://bth-invenio.data-futures.org/ with the following steps
1 - search "season"
2 - filter for section "an"
3 - search "werk"
The text was updated successfully, but these errors were encountered: