plone / volto

React-based frontend for the Plone Content Management System
https://demo.plone.org/
MIT License
429 stars 573 forks source link

Search block configuration breaks when selecting a Catalog index with integer values #5864

Closed erral closed 1 month ago

erral commented 2 months ago

Describe the bug

I have a catalog index which contains int values (altitude of some mountains).

If I want to select this index as a source of a facet in a Search block, the configuration screen breaks.

Expected behavior It should allow selecting the index correctly.

Additional context

The point is that the facet is sorting the values to present them, and assumes that everything is a string.