Merge pull request #26 from torleif/patch-1

FIX postgres can filter on non text fields
This commit is contained in:
Sean Harvey 2014-09-24 18:06:06 +12:00
commit 846f31b31c

View File

@ -420,6 +420,7 @@ class PostgreSQLDatabase extends SS_Database {
} else {
$comp = ($caseSensitive === true) ? 'LIKE' : 'ILIKE';
if($negate) $comp = 'NOT ' . $comp;
$field.='::text';
}
if($parameterised) {