Commit 42087849 authored by Tiago Mello's avatar Tiago Mello

Bug 639151: Fix the webservice Bug.get method to return the correct see

also url list. r/a=mkanat
parent a6440668
...@@ -874,7 +874,8 @@ sub _bug_to_hash { ...@@ -874,7 +874,8 @@ sub _bug_to_hash {
$item{'qa_contact'} = $self->type('string', $qa_login); $item{'qa_contact'} = $self->type('string', $qa_login);
} }
if (filter_wants $params, 'see_also') { if (filter_wants $params, 'see_also') {
my @see_also = map { $self->type('string', $_) } @{ $bug->see_also }; my @see_also = map { $self->type('string', $_->name) }
@{ $bug->see_also };
$item{'see_also'} = \@see_also; $item{'see_also'} = \@see_also;
} }
......
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