Allow to report on joined fields
parent
6f81de0d0d
commit
af5c909e18
|
@ -779,7 +779,7 @@ sub REPORT_COLUMNS
|
|||
# Subselect fields are also not supported.
|
||||
push @no_report_columns, grep {
|
||||
/\./ || $columns->{$_}->{noreports} ||
|
||||
$columns->{$_}->{nobuglist} || $columns->{$_}->{subid}
|
||||
$columns->{$_}->{nobuglist}
|
||||
} keys %$columns;
|
||||
# FIXME Multi-select fields are now incorrectly supported in reports.
|
||||
# They report like: "a,b: 80 bugs; a: 20 bugs; b: 10 bugs". I.e. the grouping
|
||||
|
|
|
@ -105,6 +105,7 @@ elsif ($action eq 'del')
|
|||
}
|
||||
|
||||
my $valid_columns = Bugzilla::Search::REPORT_COLUMNS();
|
||||
$vars->{report_columns} = $valid_columns;
|
||||
|
||||
my $field = {};
|
||||
for (qw(x y z))
|
||||
|
|
|
@ -30,8 +30,8 @@
|
|||
# tbl: Name of a hash in data which is the table to be plotted.
|
||||
#%]
|
||||
|
||||
[% col_field_disp = field_descs.$col_field || Bugzilla.get_field(col_field).description || col_field %]
|
||||
[% row_field_disp = field_descs.$row_field || Bugzilla.get_field(row_field).description || row_field %]
|
||||
[% col_field_disp = report_columns.$col_field.title || col_field %]
|
||||
[% row_field_disp = report_columns.$row_field.title || row_field %]
|
||||
|
||||
[% urlbase = buglistbase;
|
||||
IF row_field;
|
||||
|
|
Loading…
Reference in New Issue