Skip to content

Commit

Permalink
FIX: Case insensitie search
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximilian Schmidt committed Sep 5, 2018
1 parent 169d9d2 commit efa80db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Domain/Repository/PostNodeDataRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ protected function addSearchTermJoinConstraintsToQueryBuilder(QueryBuilder &$que
{
$queryBuilder
->andWhere('LOWER(n.properties) LIKE :searchTerm')
->setParameter('searchTerm', '%' . $searchTerm . '%');
->setParameter('searchTerm', '%' . strtolower($searchTerm) . '%');
}

/**
Expand Down

0 comments on commit efa80db

Please sign in to comment.