diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2013-09-10 19:43:03 +0200 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2013-09-10 19:43:03 +0200 |
commit | 196782cb0c28322b6325f9415f3cdf2f25fc7c0d (patch) | |
tree | f15f71e43e4eaf28547613977efcb268a18d77f4 /Bugzilla | |
parent | cb38e8c889a2f315e023b3fb3e657a3a5a509356 (diff) | |
download | bugzilla-196782cb0c28322b6325f9415f3cdf2f25fc7c0d.tar.gz bugzilla-196782cb0c28322b6325f9415f3cdf2f25fc7c0d.tar.xz |
Bug 904988 - create an ember extension with bespoke methods
r=glob
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/WebService/Bug.pm | 3 |
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; |