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