summaryrefslogtreecommitdiff
path: root/app/Core
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-07-18 11:33:51 -0400
committerFrederic Guillot <fred@kanboard.net>2015-07-18 11:33:51 -0400
commitdfd79722270b4f7a6653cb130b6518dcd7bd8c95 (patch)
tree122a0c4ddfe0fcca6f87b100c51a8ce36bcbc78a /app/Core
parentd75a0a9d455c01b6845dcc2ea7d61d55d416766b (diff)
Add new search attribute for swimlane
Diffstat (limited to 'app/Core')
-rw-r--r--app/Core/Lexer.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Core/Lexer.php b/app/Core/Lexer.php
index 3887dc82..0a237254 100644
--- a/app/Core/Lexer.php
+++ b/app/Core/Lexer.php
@@ -33,6 +33,7 @@ class Lexer
"/^(category:)/" => 'T_CATEGORY',
"/^(column:)/" => 'T_COLUMN',
"/^(project:)/" => 'T_PROJECT',
+ "/^(swimlane:)/" => 'T_SWIMLANE',
"/^(ref:)/" => 'T_REFERENCE',
"/^(reference:)/" => 'T_REFERENCE',
"/^(\s+)/" => 'T_WHITESPACE',
@@ -116,6 +117,7 @@ class Lexer
case 'T_CATEGORY':
case 'T_COLUMN':
case 'T_PROJECT':
+ case 'T_SWIMLANE':
$next = next($tokens);
if ($next !== false && $next['token'] === 'T_STRING') {