From adf1113c195238b8c4540ec686399ee8e004e235 Mon Sep 17 00:00:00 2001 From: Matt Selsky Date: Thu, 22 Mar 2012 19:55:41 +0100 Subject: Bug 733458: The "creator" argument is listed twice for the Bug.search WebService method r/a=LpSolit --- Bugzilla/WebService/Bug.pm | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'Bugzilla') diff --git a/Bugzilla/WebService/Bug.pm b/Bugzilla/WebService/Bug.pm index a8c7282ef..781e8b944 100644 --- a/Bugzilla/WebService/Bug.pm +++ b/Bugzilla/WebService/Bug.pm @@ -2060,6 +2060,9 @@ May not be an array. C The login name of the user who created the bug. +You can also pass this argument with the name C, for +backwards compatibility with older Bugzillas. + =item C C The numeric id of the bug. @@ -2096,13 +2099,6 @@ C The Priority field on a bug. C The name of the Product that the bug is in. -=item C - -C The login name of the user who reported the bug. - -You can also pass this argument with the name C, for -backwards compatibility with older Bugzillas. - =item C C The current resolution--only set if a bug is closed. You can -- cgit v1.2.3-24-g4f1b From 1fa9362dadb35eda9ef913e7d765aabe05465420 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Wed, 28 Mar 2012 00:32:52 +0200 Subject: Bug 730984: A single whitespace in the Status Whiteboard field generates an invalid SQL query r=dkl a=LpSolit --- Bugzilla/Search.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Bugzilla') diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index 89bb92f19..841df4acc 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. -- cgit v1.2.3-24-g4f1b