summaryrefslogtreecommitdiffstats
path: root/report.cgi
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2013-05-05 23:35:46 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2013-05-05 23:35:46 +0200
commit00580923eb02b98581d9b4fc24f22fcaaf15b5a0 (patch)
treeeb6810d787072f962091542c354ed8830b97601f /report.cgi
parent928154771796d8045f2a9fdf712a1305d6d63055 (diff)
downloadbugzilla-00580923eb02b98581d9b4fc24f22fcaaf15b5a0.tar.gz
bugzilla-00580923eb02b98581d9b4fc24f22fcaaf15b5a0.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-xreport.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/report.cgi b/report.cgi
index 7bff62be9..c73f52b44 100755
--- a/report.cgi
+++ b/report.cgi
@@ -323,7 +323,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) {
@@ -352,6 +352,7 @@ sub check_value {
else {
$value = shift @$result;
$value = ' ' if (!defined $value || $value eq '');
+ $value = '---' if ($field eq 'resolution' && $value eq ' ');
}
return $value;
}