Issue #3195080: Fixing selectLessThan and selectLessThanEqual comparison methods
Closes #3195080
Fixing the conditionalOperatorSelectLessThan
and conditionalOperatorSelectLessThanEqual
comparison methods for consistency with conditionalOperatorSelectGreaterThan
and conditionalOperatorSelectGreaterThanEqual
methods' behavior.
The issue was with frontend comparison methods : since a select
field has a range of values, comparison with the rule value should be done using :
- the lowest of user-select values for a "Is greater than" or "Is greater than or equal to" condition (as is currently done)
-
the greatest of user-select values for "Is less than" or "Is less than or equal to" operator. Otherwise, as mentioned in the issue, the comparison method will return
true
if the user has selected values below and above the rule value.
Edited by Liam Morland