aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle
diff options
context:
space:
mode:
authorJeremy Benoist <j0k3r@users.noreply.github.com>2016-11-27 18:35:38 +0100
committerGitHub <noreply@github.com>2016-11-27 18:35:38 +0100
commit5b644798a09f87e07dde95a85ab283affd7b3659 (patch)
treed1519ec57d09f74aaf1553d7e77c0ec5beaac2e8 /src/Wallabag/CoreBundle
parentebe50a85fbf3ce6b83efa7da191e10cd30edb07c (diff)
parent00fc2b44f4be1a489b1569e337e4794f042fc855 (diff)
downloadwallabag-5b644798a09f87e07dde95a85ab283affd7b3659.tar.gz
wallabag-5b644798a09f87e07dde95a85ab283affd7b3659.tar.zst
wallabag-5b644798a09f87e07dde95a85ab283affd7b3659.zip
Merge pull request #2654 from Kdecherf/domain-filter
Enforce lowercase on domain name filter
Diffstat (limited to 'src/Wallabag/CoreBundle')
-rw-r--r--src/Wallabag/CoreBundle/Form/Type/EntryFilterType.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Form/Type/EntryFilterType.php b/src/Wallabag/CoreBundle/Form/Type/EntryFilterType.php
index 7b02f85c..ee66c728 100644
--- a/src/Wallabag/CoreBundle/Form/Type/EntryFilterType.php
+++ b/src/Wallabag/CoreBundle/Form/Type/EntryFilterType.php
@@ -90,7 +90,7 @@ class EntryFilterType extends AbstractType
90 if (strlen($value) <= 2 || empty($value)) { 90 if (strlen($value) <= 2 || empty($value)) {
91 return; 91 return;
92 } 92 }
93 $expression = $filterQuery->getExpr()->like($field, $filterQuery->getExpr()->literal('%'.$value.'%')); 93 $expression = $filterQuery->getExpr()->like($field, $filterQuery->getExpr()->lower($filterQuery->getExpr()->literal('%'.$value.'%')));
94 94
95 return $filterQuery->createCondition($expression); 95 return $filterQuery->createCondition($expression);
96 }, 96 },