summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2013-05-05 23:32:24 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2013-05-05 23:32:24 +0200
commit2baddffae7097f9c4181b9115489017f90454292 (patch)
treeb7fec67ef814493c755ed28eea74d04985ba1645
parentac33bc1f6e9de89e1c4da15ed084ca3af19157ff (diff)
downloadbugzilla-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
-rwxr-xr-xreport.cgi3
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;
}