From 471e46e70294684efc6d7edfc814d5b9ca04738b Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Wed, 1 Jul 2015 19:32:51 -0400 Subject: Add project and column attributes for advanced search --- app/Core/Lexer.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/Core') diff --git a/app/Core/Lexer.php b/app/Core/Lexer.php index ad0631d5..d277f998 100644 --- a/app/Core/Lexer.php +++ b/app/Core/Lexer.php @@ -31,6 +31,8 @@ class Lexer "/^(status:)/" => 'T_STATUS', "/^(description:)/" => 'T_DESCRIPTION', "/^(category:)/" => 'T_CATEGORY', + "/^(column:)/" => 'T_COLUMN', + "/^(project:)/" => 'T_PROJECT', "/^(\s+)/" => 'T_WHITESPACE', '/^([<=>]{0,2}[0-9]{4}-[0-9]{2}-[0-9]{2})/' => 'T_DATE', '/^(yesterday|tomorrow|today)/' => 'T_DATE', @@ -109,6 +111,8 @@ class Lexer case 'T_ASSIGNEE': case 'T_COLOR': case 'T_CATEGORY': + case 'T_COLUMN': + case 'T_PROJECT': $next = next($tokens); if ($next !== false && $next['token'] === 'T_STRING') { -- cgit v1.2.3