summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-07-14 11:39:59 -0400
committerFrederic Guillot <fred@kanboard.net>2016-07-14 11:39:59 -0400
commit9496dfdb6df0266b6b7c99c01a4eb9055322b581 (patch)
tree63466db9602d2e6921170542bc4278e5227f759b /app
parent48ee733f9e2d0519150a881b18bf5510d6ed8e29 (diff)
Make search attributes not case sensitive
Diffstat (limited to 'app')
-rw-r--r--app/Core/Filter/LexerBuilder.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Core/Filter/LexerBuilder.php b/app/Core/Filter/LexerBuilder.php
index 7a9a714f..626d7614 100644
--- a/app/Core/Filter/LexerBuilder.php
+++ b/app/Core/Filter/LexerBuilder.php
@@ -69,7 +69,7 @@ class LexerBuilder
foreach ($attributes as $attribute) {
$this->filters[$attribute] = $filter;
- $this->lexer->addToken(sprintf("/^(%s:)/", $attribute), $attribute);
+ $this->lexer->addToken(sprintf("/^(%s:)/i", $attribute), $attribute);
if ($default) {
$this->lexer->setDefaultToken($attribute);