新增:合并请求列表返回关联issue数据
This commit is contained in:
parent
70de1136e1
commit
bd855ea4ed
|
@ -38,6 +38,9 @@ json.issues do
|
|||
json.version issue.version.try(:name)
|
||||
json.journals_count issue.get_journals_size
|
||||
json.issue_tags issue.get_issue_tags
|
||||
json.attached_issues pr.attached_issues.each do |issue|
|
||||
json.(issue, :id, :subject, :project_issues_index)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@ json.issue do
|
|||
end
|
||||
|
||||
json.attached_issues @pull_request.attached_issues.each do |issue|
|
||||
json.(issue, :id,:subject)
|
||||
json.(issue, :id, :subject, :project_issues_index)
|
||||
end
|
||||
|
||||
json.conflict_files @pull_request.conflict_files
|
||||
|
|
Loading…
Reference in New Issue