From 6450f192749c0bd05a5b9364557f2c7c06db82c6 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 17 Sep 2013 12:44:37 +0800 Subject: Bug 917157: the "creation_time" parameter to Bug.search incorrectly uses the "equals" operator --- Bugzilla/WebService/Bug.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Bugzilla/WebService/Bug.pm') diff --git a/Bugzilla/WebService/Bug.pm b/Bugzilla/WebService/Bug.pm index 2301e651e..298c53543 100644 --- a/Bugzilla/WebService/Bug.pm +++ b/Bugzilla/WebService/Bug.pm @@ -474,13 +474,13 @@ sub search { # Do special search types for certain fields. if (my $change_when = delete $params->{'delta_ts'}) { $params->{"f${last_field_id}"} = 'delta_ts'; - $params->{"o${last_field_id}"} = 'equals'; + $params->{"o${last_field_id}"} = 'greaterthaneq'; $params->{"v${last_field_id}"} = $change_when; $last_field_id++; } if (my $creation_when = delete $params->{'creation_ts'}) { $params->{"f${last_field_id}"} = 'creation_ts'; - $params->{"o${last_field_id}"} = 'equals'; + $params->{"o${last_field_id}"} = 'greaterthaneq'; $params->{"v${last_field_id}"} = $creation_when; $last_field_id++; } -- cgit v1.2.3-24-g4f1b