Project

General

Profile

Feature #44407 ยป 0001-Preload-the-authors-of-the-attachments-of-an-issue-N.patch

Go MAEDA, 2026-09-02 03:12

View differences:

app/views/issues/show.api.rsb
render_api_issue_children(@issue, api) if include_in_api_response?('children')
api.array :attachments do
@issue.attachments.each do |attachment|
@issue.attachments.preload(:author).each do |attachment|
render_api_attachment(attachment, api)
end
end if include_in_api_response?('attachments')
    (1-1/1)