Commit 2baddffa authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 212471: Tabular reports do not link bug counts involving the empty resolution correctly

r=dkl a=LpSolit
parent ac33bc1f
...@@ -352,7 +352,7 @@ sub get_names { ...@@ -352,7 +352,7 @@ sub get_names {
foreach my $value (@{$field->legal_values}) { foreach my $value (@{$field->legal_values}) {
push(@sorted, $value->name) if $names->{$value->name}; 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; @sorted = uniq @sorted;
} }
elsif ($isnumeric) { elsif ($isnumeric) {
...@@ -381,6 +381,7 @@ sub check_value { ...@@ -381,6 +381,7 @@ sub check_value {
else { else {
$value = shift @$result; $value = shift @$result;
$value = ' ' if (!defined $value || $value eq ''); $value = ' ' if (!defined $value || $value eq '');
$value = '---' if ($field eq 'resolution' && $value eq ' ');
} }
return $value; return $value;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment