We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If min value (and/or max value) in the range is zero (e.g. 0-500), the RangeFilterConditionProcessor skips applying the condition to the list.
As seen in the RangeFilterConditionProcessor::addCondition() method:
RangeFilterConditionProcessor::addCondition()
if (!empty($valueMin) && !empty($valueMax)) { $fieldName = $field; if ($isPrecondition) { $fieldName = 'PRECONDITION_' . $fieldName; } $list->addCondition(new RangeCondition($field, $valueMin, $valueMax), $fieldName); }
Pull request: #1606
The text was updated successfully, but these errors were encountered:
Right, I don't see why 0 should be anything special, min can easily be negative, the range should check for !== null probably.
!== null
Sorry, something went wrong.
No branches or pull requests
If min value (and/or max value) in the range is zero (e.g. 0-500), the RangeFilterConditionProcessor skips applying the condition to the list.
As seen in the
RangeFilterConditionProcessor::addCondition()
method:Pull request: #1606
The text was updated successfully, but these errors were encountered: