summaryrefslogtreecommitdiffstats
path: root/Bugzilla/WebService
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-09-10 19:43:03 +0200
committerDave Lawrence <dlawrence@mozilla.com>2013-09-10 19:43:03 +0200
commit196782cb0c28322b6325f9415f3cdf2f25fc7c0d (patch)
treef15f71e43e4eaf28547613977efcb268a18d77f4 /Bugzilla/WebService
parentcb38e8c889a2f315e023b3fb3e657a3a5a509356 (diff)
downloadbugzilla-196782cb0c28322b6325f9415f3cdf2f25fc7c0d.tar.gz
bugzilla-196782cb0c28322b6325f9415f3cdf2f25fc7c0d.tar.xz
Bug 904988 - create an ember extension with bespoke methods
r=glob
Diffstat (limited to 'Bugzilla/WebService')
-rw-r--r--Bugzilla/WebService/Bug.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/WebService/Bug.pm b/Bugzilla/WebService/Bug.pm
index e3ebf8dc8..2301e651e 100644
--- a/Bugzilla/WebService/Bug.pm
+++ b/Bugzilla/WebService/Bug.pm
@@ -1018,7 +1018,8 @@ sub _bug_to_hash {
}
# And now custom fields
- my @custom_fields = Bugzilla->active_custom_fields;
+ my @custom_fields = Bugzilla->active_custom_fields({
+ product => $bug->product_obj, component => $bug->component_obj, bug_id => $bug->id });
foreach my $field (@custom_fields) {
my $name = $field->name;
next if !filter_wants $params, $name;