diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2013-05-05 23:32:24 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2013-05-05 23:32:24 +0200 |
commit | 2baddffae7097f9c4181b9115489017f90454292 (patch) | |
tree | b7fec67ef814493c755ed28eea74d04985ba1645 /report.cgi | |
parent | ac33bc1f6e9de89e1c4da15ed084ca3af19157ff (diff) | |
download | bugzilla-2baddffae7097f9c4181b9115489017f90454292.tar.gz bugzilla-2baddffae7097f9c4181b9115489017f90454292.tar.xz |
Bug 212471: Tabular reports do not link bug counts involving the empty resolution correctly
r=dkl a=LpSolit
Diffstat (limited to 'report.cgi')
-rwxr-xr-x | report.cgi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/report.cgi b/report.cgi index 5e51bd34a..3a1130f2d 100755 --- a/report.cgi +++ b/report.cgi @@ -352,7 +352,7 @@ sub get_names { foreach my $value (@{$field->legal_values}) { push(@sorted, $value->name) if $names->{$value->name}; } - unshift(@sorted, ' ') if $field_name eq 'resolution'; + unshift(@sorted, '---') if $field_name eq 'resolution'; @sorted = uniq @sorted; } elsif ($isnumeric) { @@ -381,6 +381,7 @@ sub check_value { else { $value = shift @$result; $value = ' ' if (!defined $value || $value eq ''); + $value = '---' if ($field eq 'resolution' && $value eq ' '); } return $value; } |