diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-05-16 06:25:11 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-05-16 06:25:11 +0000 |
commit | 0e59482e90a788f2da7775a3fb5c51dbea7b135f (patch) | |
tree | 08b2741b4a1bab46629e4e37eccfeaddee3c13b0 /app | |
parent | 1acb0c9f69b3dbe4a2bca98fc154197490c952c0 (diff) | |
download | redmine-0e59482e90a788f2da7775a3fb5c51dbea7b135f.tar.gz redmine-0e59482e90a788f2da7775a3fb5c51dbea7b135f.zip |
Include private_notes property in xml/json Journals output (#20985).
Patch by Takenori TAKAKI.
git-svn-id: http://svn.redmine.org/redmine/trunk@15414 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/views/issues/show.api.rsb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/issues/show.api.rsb b/app/views/issues/show.api.rsb index 072709e57..f474ed9c6 100644 --- a/app/views/issues/show.api.rsb +++ b/app/views/issues/show.api.rsb @@ -59,6 +59,7 @@ api.issue do api.user(:id => journal.user_id, :name => journal.user.name) unless journal.user.nil? api.notes journal.notes api.created_on journal.created_on + api.private_notes journal.private_notes api.array :details do journal.visible_details.each do |detail| api.detail :property => detail.property, :name => detail.prop_key do |