summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2012-03-28 23:21:10 +0200
committerDave Lawrence <dlawrence@mozilla.com>2012-03-28 23:21:10 +0200
commita4c234e96660489c24ec68c08d4d66f3fe1b1e19 (patch)
treedfa83366708e87fdee96a90e8bb815a82998e778 /Bugzilla
parent399f0b45f6fb796941b92ed2899fcc17e3ab0ea9 (diff)
parentc89d334af4b6d288f6294cfe8acfa939744fcec6 (diff)
downloadbugzilla-a4c234e96660489c24ec68c08d4d66f3fe1b1e19.tar.gz
bugzilla-a4c234e96660489c24ec68c08d4d66f3fe1b1e19.tar.xz
merged with bugzilla/4.0
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Search.pm6
-rw-r--r--Bugzilla/WebService/Bug.pm10
2 files changed, 8 insertions, 8 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm
index 55a14d9e0..2655ec467 100644
--- a/Bugzilla/Search.pm
+++ b/Bugzilla/Search.pm
@@ -1668,7 +1668,11 @@ sub _handle_chart {
$search_args{quoted} = $self->_quote_unless_numeric(\%search_args);
# This should add a "term" selement to %search_args.
$self->do_search_function(\%search_args);
-
+
+ # If term is left empty, then this means the criteria
+ # has no effect and can be ignored.
+ return unless $search_args{term};
+
# All the things here that don't get pulled out of
# %search_args are their original values before
# do_search_function modified them.
diff --git a/Bugzilla/WebService/Bug.pm b/Bugzilla/WebService/Bug.pm
index 1ac7bf206..243031800 100644
--- a/Bugzilla/WebService/Bug.pm
+++ b/Bugzilla/WebService/Bug.pm
@@ -2224,6 +2224,9 @@ May not be an array.
C<string> The login name of the user who created the bug.
+You can also pass this argument with the name C<reporter>, for
+backwards compatibility with older Bugzillas.
+
=item C<id>
C<int> The numeric id of the bug.
@@ -2260,13 +2263,6 @@ C<string> The Priority field on a bug.
C<string> The name of the Product that the bug is in.
-=item C<creator>
-
-C<string> The login name of the user who reported the bug.
-
-You can also pass this argument with the name C<reporter>, for
-backwards compatibility with older Bugzillas.
-
=item C<resolution>
C<string> The current resolution--only set if a bug is closed. You can