summaryrefslogtreecommitdiff
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 /report.cgi
parentBug 859118 - Bug.search called with no arguments returns all visible bugs, ig... (diff)
downloadbugzilla-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-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;
}