diff --git a/.travis.yml b/.travis.yml index 03de447..16b3c0c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,9 +13,6 @@ env: matrix: fast_finish: true include: - - php: 7.1 - env: - - PHPUNIT_TEST=framework - php: 7.2 env: - PHPUNIT_TEST=postgresql diff --git a/code/PostgreSQLDatabase.php b/code/PostgreSQLDatabase.php index 2f08b38..bc7f248 100644 --- a/code/PostgreSQLDatabase.php +++ b/code/PostgreSQLDatabase.php @@ -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());