summaryrefslogtreecommitdiffstats
path: root/template/en/default/list
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/list')
-rw-r--r--template/en/default/list/edit-multiple.html.tmpl8
1 files changed, 7 insertions, 1 deletions
diff --git a/template/en/default/list/edit-multiple.html.tmpl b/template/en/default/list/edit-multiple.html.tmpl
index 8f94105a7..6a3269dff 100644
--- a/template/en/default/list/edit-multiple.html.tmpl
+++ b/template/en/default/list/edit-multiple.html.tmpl
@@ -283,7 +283,13 @@
[% USE Bugzilla %]
[%# Show all legal values and all fields, ignoring visibility controls. %]
[% bug = default.defined ? default : 0 %]
- [% FOREACH field = Bugzilla.active_custom_fields %]
+ [% custom_fields = [] %]
+ [% IF one_product.defined %]
+ [% custom_fields = Bugzilla.active_custom_fields(product=>one_product) %]
+ [% ELSE %]
+ [% custom_fields = Bugzilla.active_custom_fields %]
+ [% END %]
+ [% FOREACH field = custom_fields %]
<tr>
[% PROCESS bug/field.html.tmpl bug = default
value = dontchange