From: Frédéric Buclin Date: Sun, 5 May 2013 21:34:01 +0000 (+0200) Subject: Bug 212471: Tabular reports do not link bug counts involving the empty resolution... X-Git-Tag: bugzilla-4.4~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d5219c913197821290cd7002a8db7b3d8239ea6;p=thirdparty%2Fbugzilla.git Bug 212471: Tabular reports do not link bug counts involving the empty resolution correctly r=dkl a=LpSolit --- diff --git a/report.cgi b/report.cgi index 0e29d59d77..f4f015b927 100755 --- a/report.cgi +++ b/report.cgi @@ -354,7 +354,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) { @@ -383,6 +383,7 @@ sub check_value { else { $value = shift @$result; $value = ' ' if (!defined $value || $value eq ''); + $value = '---' if ($field eq 'resolution' && $value eq ' '); } return $value; }