Commit 6f88fd03 authored by David Lawrence's avatar David Lawrence

Bug 1156240: Return proper "See Also" data on REST API call to a bug

r=dkl,a=glob
parent 1f981e12
...@@ -1425,7 +1425,7 @@ sub _bug_to_hash { ...@@ -1425,7 +1425,7 @@ sub _bug_to_hash {
} }
} }
if (filter_wants $params, 'see_also') { if (filter_wants $params, 'see_also') {
$item{'see_also'} = as_string_array($bug->see_also); $item{'see_also'} = as_name_array($bug->see_also);
} }
if (filter_wants $params, 'flags') { if (filter_wants $params, 'flags') {
$item{'flags'} = [ map { $self->_flag_to_hash($_) } @{$bug->flags} ]; $item{'flags'} = [ map { $self->_flag_to_hash($_) } @{$bug->flags} ];
......
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