From f1973062b3ccda18738e188738da55af12b90f96 Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Thu, 7 Oct 2010 05:56:47 -0700 Subject: Bug 600495: Make the "chfieldto" query parameter work all by itself, again. r=mkanat, a=mkanat (module owner) --- xt/lib/Bugzilla/Test/Search/FieldTestNormal.pm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'xt/lib/Bugzilla/Test/Search') 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 }; } -- cgit v1.2.3-24-g4f1b