From af2dc7ab4985d4bd29a34c9142271bdc86abf90d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Urb=C3=A1=C5=A1ek?= Date: Thu, 14 Nov 2024 11:00:13 +0100 Subject: [PATCH] Doctrine 3 require first parameter to be string (#1155) --- src/DataSource/DoctrineDataSource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DataSource/DoctrineDataSource.php b/src/DataSource/DoctrineDataSource.php index 4249eda2..ec423eb5 100755 --- a/src/DataSource/DoctrineDataSource.php +++ b/src/DataSource/DoctrineDataSource.php @@ -270,7 +270,7 @@ protected function applyFilterText(FilterText $filter): void foreach ($words as $word) { $exprs[] = $this->dataSource->expr()->like( - $this->dataSource->expr()->lower($c), + (string) $this->dataSource->expr()->lower($c), $this->dataSource->expr()->lower( $this->dataSource->expr()->literal('%' . $word . '%') )