Commit 6de90047 authored by KarlShea's avatar KarlShea Committed by drunken monkey

Issue #3096993 by KarlShea, drunken monkey: Fixed Views "between" filters with only maximum value.

parent 21e61211
Search API 1.x, dev (xxxx-xx-xx):
---------------------------------
- #3096993 by KarlShea, drunken monkey: Fixed Views "between" filters with only
maximum value.
- #3081180 by mibfire, drunken monkey: Fixed HTML filter sometimes leaving whitespace.
- #3070125 by chrisclark, drunken monkey: Fixed Views "Reset" button validating
minimum keywords length.
......
......@@ -214,7 +214,7 @@ class SearchApiViewsHandlerFilterNumeric extends SearchApiViewsHandlerFilter {
}
elseif ($max !== '') {
$operator = $this->operator === 'between' ? '<=' : '>';
$this->query->condition($this->real_field, $min, $operator, $this->options['group']);
$this->query->condition($this->real_field, $max, $operator, $this->options['group']);
}
}
else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment