Commit 8d5219c9 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 a75a42fd
......@@ -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;
}
......
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