BUGFIX: LessThanFilter uses SearchFilter::getDbFormattedValue, just like GreaterThanFilter

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@95388 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Luke Hudson 2009-12-15 01:40:06 +00:00 committed by Sam Minnee
parent ea670119db
commit a3b377289d

View File

@ -17,7 +17,7 @@ class LessThanFilter extends SearchFilter {
return $query->where(sprintf(
"%s < '%s'",
$this->getDbName(),
Convert::raw2sql($this->getValue())
Convert::raw2sql($this->getDbFormattedValue())
));
}