mirror of
https://github.com/silverstripe/silverstripe-postgresql
synced 2024-10-22 17:05:45 +02:00
FIX Usage of a bug-feature around aliases
Related https://github.com/silverstripe/silverstripe-postgresql/issues/95
This commit is contained in:
parent
04000ad878
commit
0ffaf90512
@ -448,7 +448,7 @@ class PostgreSQLDatabase extends Database
|
|||||||
|
|
||||||
// Could parameterise this, but convention is only to to so for where conditions
|
// Could parameterise this, but convention is only to to so for where conditions
|
||||||
$query->addFrom(array(
|
$query->addFrom(array(
|
||||||
'tsearch' => ", to_tsquery('" . self::search_language() . "', $keywords) AS q"
|
'q' => ", to_tsquery('" . self::search_language() . "', $keywords)"
|
||||||
));
|
));
|
||||||
$query->setSelect(array());
|
$query->setSelect(array());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user