diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-10-07 14:56:47 +0200 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-10-07 14:56:47 +0200 |
commit | f1973062b3ccda18738e188738da55af12b90f96 (patch) | |
tree | c0382a1b5d15e53187576bbc485d79784f6305aa /xt/lib/Bugzilla | |
parent | af2f8916f920c2ac2876c9a85a4e4737ab8a6d60 (diff) | |
download | bugzilla-f1973062b3ccda18738e188738da55af12b90f96.tar.gz bugzilla-f1973062b3ccda18738e188738da55af12b90f96.tar.xz |
Bug 600495: Make the "chfieldto" query parameter work all by itself, again.
r=mkanat, a=mkanat (module owner)
Diffstat (limited to 'xt/lib/Bugzilla')
-rw-r--r-- | xt/lib/Bugzilla/Test/Search/FieldTestNormal.pm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xt/lib/Bugzilla/Test/Search/FieldTestNormal.pm b/xt/lib/Bugzilla/Test/Search/FieldTestNormal.pm index b3da598e4..1262e19fb 100644 --- a/xt/lib/Bugzilla/Test/Search/FieldTestNormal.pm +++ b/xt/lib/Bugzilla/Test/Search/FieldTestNormal.pm @@ -74,6 +74,13 @@ sub search_params { return { chfield => $field, $ch_param => $value }; } + if ($field eq 'delta_ts' and $operator eq 'greaterthaneq') { + return { chfieldfrom => $value }; + } + if ($field eq 'delta_ts' and $operator eq 'lessthaneq') { + return { chfieldto => $value }; + } + if ($field eq 'deadline' and $operator eq 'greaterthaneq') { return { deadlinefrom => $value }; } |