diff options
author | bugreport%peshkin.net <> | 2007-01-22 13:49:35 +0100 |
---|---|---|
committer | bugreport%peshkin.net <> | 2007-01-22 13:49:35 +0100 |
commit | c751a9d8da14e4f6a4c3713e630dbc0912b9ab85 (patch) | |
tree | 325b01bf487b05a53dc1d14d694775ab8435954c /Bugzilla | |
parent | 7c023b6859219c96960d4efe854fc8988cc22809 (diff) | |
download | bugzilla-c751a9d8da14e4f6a4c3713e630dbc0912b9ab85.tar.gz bugzilla-c751a9d8da14e4f6a4c3713e630dbc0912b9ab85.tar.xz |
Bug 366243: Permit boolean searches of creation date and last changed date to use relative dates
Patch by Joel Peshkin <bugreport@peshkin.net>
r,a=justdave
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Search.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index 9215dc70d..ffe8e74f9 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -643,7 +643,7 @@ sub init { "^content," => sub { ThrowUserError("search_content_without_matches"); }, - "^deadline,(?:lessthan|greaterthan|equals|notequals),(-|\\+)?(\\d+)([dDwWmMyY])\$" => sub { + "^(?:deadline|creation_ts|delta_ts),(?:lessthan|greaterthan|equals|notequals),(?:-|\\+)?(?:\\d+)(?:[dDwWmMyY])\$" => sub { $v = SqlifyDate($v); $q = $dbh->quote($v); }, |