From 310008e289bcaa1d02fcfaaf89d8364279f6cf03 Mon Sep 17 00:00:00 2001 From: Janne Koschinski <janne@kuschku.de> Date: Sat, 14 Oct 2017 05:07:06 +0200 Subject: [PATCH] =?UTF-8?q?This=20is=20why=20you=20don=E2=80=99t=20code=20?= =?UTF-8?q?at=205am=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- database/backends/PostgresSmartBackend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/backends/PostgresSmartBackend.php b/database/backends/PostgresSmartBackend.php index e316cb0..cee18fb 100644 --- a/database/backends/PostgresSmartBackend.php +++ b/database/backends/PostgresSmartBackend.php @@ -80,7 +80,7 @@ class PostgresSmartBackend implements Backend FROM backlog JOIN buffer ON backlog.bufferid = buffer.bufferid - , phraseto_tsquery_multilang(:query) query + , $tsQueryFunction query WHERE buffer.userid = :userid AND (:ignore_since::BOOLEAN OR backlog.time > :since::TIMESTAMP) AND (:ignore_before::BOOLEAN OR backlog.time < :before::TIMESTAMP) -- GitLab