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 | Bug 859118 - Bug.search called with no arguments returns all visible bugs, ig... (diff) | |
download | bugzilla-2baddffae7097f9c4181b9115489017f90454292.tar.gz bugzilla-2baddffae7097f9c4181b9115489017f90454292.tar.bz2 bugzilla-2baddffae7097f9c4181b9115489017f90454292.zip |
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; } |