diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2013-05-05 23:34:01 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2013-05-05 23:34:01 +0200 |
commit | 8d5219c913197821290cd7002a8db7b3d8239ea6 (patch) | |
tree | 86f6cb1af03767ba5c8fedbb21d6e46d501a9d2b /report.cgi | |
parent | Bug 859118 - Bug.search called with no arguments returns all visible bugs, ig... (diff) | |
download | bugzilla-8d5219c913197821290cd7002a8db7b3d8239ea6.tar.gz bugzilla-8d5219c913197821290cd7002a8db7b3d8239ea6.tar.bz2 bugzilla-8d5219c913197821290cd7002a8db7b3d8239ea6.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-x | report.cgi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/report.cgi b/report.cgi index 0e29d59d7..f4f015b92 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; } |