Merge branch '2' into master

This commit is contained in:
Aaron Carlino 2019-07-13 21:52:59 +12:00
commit 72b47428a4
2 changed files with 1 additions and 4 deletions

View File

@ -13,9 +13,6 @@ env:
matrix:
fast_finish: true
include:
- php: 7.1
env:
- PHPUNIT_TEST=framework
- php: 7.2
env:
- PHPUNIT_TEST=postgresql

View File

@ -448,7 +448,7 @@ class PostgreSQLDatabase extends Database
// Could parameterise this, but convention is only to to so for where conditions
$query->addFrom(array(
'tsearch' => ", to_tsquery('" . self::search_language() . "', $keywords) AS q"
'q' => ", to_tsquery('" . self::search_language() . "', $keywords)"
));
$query->setSelect(array());