diff --git a/search/filters/LessThanFilter.php b/search/filters/LessThanFilter.php index c9c9601dc..9b522ef51 100644 --- a/search/filters/LessThanFilter.php +++ b/search/filters/LessThanFilter.php @@ -17,7 +17,7 @@ class LessThanFilter extends SearchFilter { return $query->where(sprintf( "%s < '%s'", $this->getDbName(), - Convert::raw2sql($this->getValue()) + Convert::raw2sql($this->getDbFormattedValue()) )); }