- Issue created by @jonathan_hunt
- Status changed to Closed: works as designed
about 1 year ago 12:16am 7 July 2023 - 🇳🇿New Zealand jonathan_hunt
Apologies, I was working with 8.x-1.0-beta3 but 8.x-1.x-dev does cope with negative values.
I have a use case for a facet ranging in value from -4 to 13. Values from/including 0 to 13 are recognised as active, but values < 0 are not.
Define a facet with a range including negative values. Observe that values < 0 are not flagged as active.
Alter regex in getActiveMinMax()
from matching only digits via \d
to also matching sign via -?\d
Closed: works as designed
Code
Apologies, I was working with 8.x-1.0-beta3 but 8.x-1.x-dev does cope with negative values.