Commit 8cd728c8 authored by Alexander Tereschenko's avatar Alexander Tereschenko Committed by Frédéric Buclin

Bug 806809: Custom field values with "Enabled for bugs" set to "No" break the…

Bug 806809: Custom field values with "Enabled for bugs" set to "No" break the values list if the field's values visibility depends on another field values r/a=LpSolit
parent 5a68fdb4
......@@ -44,6 +44,7 @@
[% FOREACH controlled_field = legal_value.controlled_values.keys %]
[% SET cont_ids = [] %]
[% FOREACH val = legal_value.controlled_values.$controlled_field %]
[% NEXT IF !val.is_active %]
[% cont_ids.push(val.id) %]
[% END %]
[% NEXT IF !cont_ids.size %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment