From fce9ee9c0eee843140bf09511b574f65d00e24f6 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Tue, 8 Jul 2014 14:58:20 +0000 Subject: Bug 1035799: BzAPI compatibility layer only returns whiteboard field if non-empty, unlike bzapi --- extensions/BzAPI/lib/Util.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'extensions/BzAPI') 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' -- cgit v1.2.3-24-g4f1b