summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@redhat.com>2014-07-08 16:58:20 +0200
committerDavid Lawrence <dkl@redhat.com>2014-07-08 16:58:20 +0200
commitfce9ee9c0eee843140bf09511b574f65d00e24f6 (patch)
tree9eafb63f2cca7d94f686cd7a51654d40ade38904
parent9fbf2346bdebe978f65afc52e21f5058c59b5673 (diff)
downloadbugzilla-fce9ee9c0eee843140bf09511b574f65d00e24f6.tar.gz
bugzilla-fce9ee9c0eee843140bf09511b574f65d00e24f6.tar.xz
Bug 1035799: BzAPI compatibility layer only returns whiteboard field if non-empty, unlike bzapi
-rw-r--r--extensions/BzAPI/lib/Util.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/BzAPI/lib/Util.pm b/extensions/BzAPI/lib/Util.pm
index 8ea039db5..2cbb078b8 100644
--- a/extensions/BzAPI/lib/Util.pm
+++ b/extensions/BzAPI/lib/Util.pm
@@ -192,6 +192,7 @@ sub fix_bug {
next if $method eq 'Bug.search' && $key eq 'url'; # Return url even if empty
next if $method eq 'Bug.search' && $key eq 'keywords'; # Return keywords even if empty
+ next if $method eq 'Bug.search' && $key eq 'whiteboard'; # Return whiteboard even if empty
next if $method eq 'Bug.get' && grep($_ eq $key, TIMETRACKING_FIELDS);
next if ($method eq 'Bug.search'