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 git-svn-id: svn://10.0.0.236/trunk@218743 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user