Bug 143423 - Fix >, >=, <= operators on timestamp fields
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1915 6955db30-a419-402b-8a0d-67ecbb4d7f56master
parent
19487bd376
commit
b4aad4c58a
|
@ -855,11 +855,10 @@ sub FUNCTIONS
|
||||||
'*' => sub { ThrowUserError('search_changes_without_changed'); },
|
'*' => sub { ThrowUserError('search_changes_without_changed'); },
|
||||||
},
|
},
|
||||||
'deadline|creation_ts|delta_ts'.($date_fields ? '|'.$date_fields : '') => {
|
'deadline|creation_ts|delta_ts'.($date_fields ? '|'.$date_fields : '') => {
|
||||||
'lessthan|greaterthan|equals|notequals' => \&_timestamp_compare,
|
'lessthan|lessthaneq|greaterthan|greaterthaneq|equals|notequals' => \&_timestamp_compare,
|
||||||
},
|
},
|
||||||
'days_elapsed' => {
|
'days_elapsed' => {
|
||||||
'equals|lessthan|lessthaneq|'.
|
'lessthan|lessthaneq|greaterthan|greaterthaneq|equals|notequals' => \&_days_elapsed,
|
||||||
'greaterthan|greaterthaneq' => \&_days_elapsed,
|
|
||||||
'*' => sub { ThrowUserError('search_days_elapsed_non_numeric') },
|
'*' => sub { ThrowUserError('search_days_elapsed_non_numeric') },
|
||||||
},
|
},
|
||||||
'owner_idle_time' => {
|
'owner_idle_time' => {
|
||||||
|
|
Loading…
Reference in New Issue