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

search: "Error: Validation error." when filtering with the "years" facet #99

Open
nharraud opened this issue Aug 10, 2017 · 0 comments
Open
Assignees
Milestone

Comments

@nharraud
Copy link
Member

nharraud commented Aug 10, 2017

Related to inveniosoftware/invenio-app-ils#37

Problem:
Requesting a "time" facet as range will still display it as a checkbox widget. This creates an error as invenio-search expects either a range query or a terms query but not both at the same time.

Temporary solution for modules using invenio-search-js:
Show only one of the widgets in the template.

Solution for invenio-search-js:
Detect automatically that the facet is a range facet or not and use the right widget.

drjova added a commit to drjova/invenio-search-js that referenced this issue Aug 10, 2017
* Removes the ``years`` facet from the UI. (closes inveniosoftware#99)

Signed-off-by: Harris Tzovanakis <[email protected]>
@lnielsen lnielsen added this to the someday milestone Mar 11, 2018
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

No branches or pull requests

3 participants