From 17820c05049f28d1ce75fb5a358d5b089cb86613 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Mon, 3 Mar 2014 21:27:55 +0000 Subject: Bug 926962 - all tracking flags are visible on the 'change many bugs at once' page r=glob --- template/en/default/list/edit-multiple.html.tmpl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'template') 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 %] [% PROCESS bug/field.html.tmpl bug = default value = dontchange -- cgit v1.2.3-24-g4f1b