while (MoreSQLData()) {
my ($row, $col, $tbl) = FetchSQLData();
+
+ # handle empty dimension member names
+ $row = ' ' if ($row eq '');
+ $col = ' ' if ($col eq '');
+ $tbl = ' ' if ($tbl eq '');
+
$row = "" if ($row eq $columns{''});
$col = "" if ($col eq $columns{''});
$tbl = "" if ($tbl eq $columns{''});
'rep_platform' => \@::legal_platform,
'op_sys' => \@::legal_opsys,
'bug_status' => \@::legal_bug_status,
- 'resolution' => \@::legal_resolution);
+ 'resolution' => [' ', @::legal_resolution]);
my $field_list = $fields{$field};
my @sorted;
[% col_idx = 1 - col_idx %]
<td class="[% classes.$row_idx.$col_idx %]">
- [% col FILTER html %]
+ [% col FILTER html FILTER replace('^ $',' ') %]
</td>
[% END %]
<td class="ttotal">
[% row_idx = 1 - row_idx %]
<tr>
<td class="[% classes.$row_idx.$col_idx %]" align="right">
- [% row FILTER html %]
+ [% row FILTER html FILTER replace('^ $',' ') %]
</td>
[% FOREACH col = col_names %]
[% row_total = row_total + data.$tbl.$col.$row %]