Adds closed_on to issues API responses (#824).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11411 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
9dd8988638
commit
7a1af68178
|
@ -23,6 +23,7 @@ api.array :issues, api_meta(:total_count => @issue_count, :offset => @offset, :l
|
|||
|
||||
api.created_on issue.created_on
|
||||
api.updated_on issue.updated_on
|
||||
api.closed_on issue.closed_on
|
||||
|
||||
api.array :relations do
|
||||
issue.relations.each do |relation|
|
||||
|
|
|
@ -22,6 +22,7 @@ api.issue do
|
|||
|
||||
api.created_on @issue.created_on
|
||||
api.updated_on @issue.updated_on
|
||||
api.closed_on @issue.closed_on
|
||||
|
||||
render_api_issue_children(@issue, api) if include_in_api_response?('children')
|
||||
|
||||
|
|
Loading…
Reference in New Issue