diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-07-18 17:22:49 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-07-18 17:22:49 -0400 |
commit | e7ff62f5e3c6d4e76d8391882d69d09b92919159 (patch) | |
tree | f05ebf4de2e9cb6044551e64687b8535c08d39dd /app/Core/Lexer.php | |
parent | 7d9f3e7bc466e673d72c8e36078768458f36b75f (diff) |
Add new search attributes: created, modified and updated
Diffstat (limited to 'app/Core/Lexer.php')
-rw-r--r-- | app/Core/Lexer.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/Core/Lexer.php b/app/Core/Lexer.php index 0a237254..d7e6fde4 100644 --- a/app/Core/Lexer.php +++ b/app/Core/Lexer.php @@ -28,6 +28,9 @@ class Lexer "/^(assignee:)/" => 'T_ASSIGNEE', "/^(color:)/" => 'T_COLOR', "/^(due:)/" => 'T_DUE', + "/^(updated:)/" => 'T_UPDATED', + "/^(modified:)/" => 'T_UPDATED', + "/^(created:)/" => 'T_CREATED', "/^(status:)/" => 'T_STATUS', "/^(description:)/" => 'T_DESCRIPTION', "/^(category:)/" => 'T_CATEGORY', @@ -128,6 +131,8 @@ class Lexer case 'T_STATUS': case 'T_DUE': + case 'T_UPDATED': + case 'T_CREATED': case 'T_DESCRIPTION': case 'T_REFERENCE': $next = next($tokens); |