inveniosoftware-attic / invenio-app-demomarc21

Demo of an MARC21 based Invenio flavour.
https://invenio-app-demomarc21.readthedocs.io
GNU General Public License v2.0
1 stars 13 forks source link

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

Closed nharraud closed 7 years ago

nharraud commented 7 years ago

Problem: The years are displayed at the same time in a "range" widget ("years") and in a checkbox widget. Those two widget send a different query to the backend, either a range query or a multi-choice query. If the backend marked the "years" facet as a range, as it is the case in invenio-app-ils, the search will fail with an error message "Error: Invalid range format".

Temporary solution: Create a custom temlate which will not show the checkbox widget.

drjova commented 7 years ago

Fixed by https://github.com/inveniosoftware/invenio-app-ils/pull/38