summaryrefslogtreecommitdiffstats
path: root/app/views/issues/show.api.rsb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/issues/show.api.rsb')
-rw-r--r--app/views/issues/show.api.rsb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/issues/show.api.rsb b/app/views/issues/show.api.rsb
index ce788a723..3878e71bd 100644
--- a/app/views/issues/show.api.rsb
+++ b/app/views/issues/show.api.rsb
@@ -18,7 +18,7 @@ api.issue do
api.estimated_hours @issue.estimated_hours
api.spent_hours(@issue.spent_hours) if User.current.allowed_to?(:view_time_entries, @project)
- render_api_custom_values @issue.custom_field_values, api
+ render_api_custom_values @issue.visible_custom_field_values, api
api.created_on @issue.created_on
api.updated_on @issue.updated_on
@@ -55,7 +55,7 @@ api.issue do
api.notes journal.notes
api.created_on journal.created_on
api.array :details do
- journal.details.each do |detail|
+ journal.visible_details.each do |detail|
api.detail :property => detail.property, :name => detail.prop_key do
api.old_value detail.old_value
api.new_value detail.value