Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.
This repository was archived by the owner on Apr 17, 2025. It is now read-only.

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

Open
@nharraud

Description

@nharraud

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions