From efa80db523922af5627475a123dc0fbab1ad71ae Mon Sep 17 00:00:00 2001 From: Maximilian Schmidt Date: Wed, 5 Sep 2018 14:52:42 +0200 Subject: [PATCH] FIX: Case insensitie search --- Classes/Domain/Repository/PostNodeDataRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Domain/Repository/PostNodeDataRepository.php b/Classes/Domain/Repository/PostNodeDataRepository.php index 97762bf..2af7896 100755 --- a/Classes/Domain/Repository/PostNodeDataRepository.php +++ b/Classes/Domain/Repository/PostNodeDataRepository.php @@ -71,7 +71,7 @@ protected function addSearchTermJoinConstraintsToQueryBuilder(QueryBuilder &$que { $queryBuilder ->andWhere('LOWER(n.properties) LIKE :searchTerm') - ->setParameter('searchTerm', '%' . $searchTerm . '%'); + ->setParameter('searchTerm', '%' . strtolower($searchTerm) . '%'); } /**