From: Frédéric Buclin Date: Sun, 5 May 2013 21:32:24 +0000 (+0200) Subject: Bug 212471: Tabular reports do not link bug counts involving the empty resolution... X-Git-Tag: bugzilla-4.5.1~164 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2baddffae7097f9c4181b9115489017f90454292;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 5e51bd34a6..3a1130f2df 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; }