From e7ff62f5e3c6d4e76d8391882d69d09b92919159 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 18 Jul 2015 17:22:49 -0400 Subject: Add new search attributes: created, modified and updated --- app/Core/Lexer.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'app/Core') 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); -- cgit v1.2.3