summaryrefslogtreecommitdiffstats
path: root/Bugzilla/WebService
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-09-17 06:44:37 +0200
committerByron Jones <bjones@mozilla.com>2013-09-17 06:44:37 +0200
commit6450f192749c0bd05a5b9364557f2c7c06db82c6 (patch)
tree770fb33b9f3f6a2da23e97ea0dbdf64adc92971e /Bugzilla/WebService
parent205acc7f229eee0d1da69ef4c9409efecf596c89 (diff)
downloadbugzilla-6450f192749c0bd05a5b9364557f2c7c06db82c6.tar.gz
bugzilla-6450f192749c0bd05a5b9364557f2c7c06db82c6.tar.xz
Bug 917157: the "creation_time" parameter to Bug.search incorrectly uses the "equals" operator
Diffstat (limited to 'Bugzilla/WebService')
-rw-r--r--Bugzilla/WebService/Bug.pm4
1 files changed, 2 insertions, 2 deletions
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++;
}