parent
22ea209c43
commit
222ed9d661
|
@ -246,13 +246,6 @@ if (($cgi->param('query_format') || $cgi->param('format') || "")
|
|||
$vars->{'category'} = Bugzilla::Chart::getVisibleSeries();
|
||||
}
|
||||
|
||||
if ($cgi->param('format') && $cgi->param('format') =~ /^report-(table|graph)$/) {
|
||||
# Get legal custom fields for tabular and graphical reports.
|
||||
my @custom_fields_for_reports =
|
||||
grep { $_->type == FIELD_TYPE_SINGLE_SELECT } Bugzilla->active_custom_fields;
|
||||
$vars->{'custom_fields'} = \@custom_fields_for_reports;
|
||||
}
|
||||
|
||||
$vars->{'known_name'} = $cgi->param('known_name');
|
||||
$vars->{'columnlist'} = $cgi->param('columnlist');
|
||||
|
||||
|
|
|
@ -25,12 +25,5 @@
|
|||
[% " selected" IF default.$name.0 == field %]>
|
||||
[% field_descs.$field || field FILTER html %]</option>
|
||||
[% END %]
|
||||
|
||||
[%# Single-select fields are also valid column names. %]
|
||||
[% FOREACH field = custom_fields %]
|
||||
<option value="[% field.name FILTER html %]"
|
||||
[% " selected" IF default.$name.0 == field.name %]>
|
||||
[% field.description FILTER html %]</option>
|
||||
[% END %]
|
||||
</select>
|
||||
[% END %]
|
||||
|
|
Loading…
Reference in New Issue