We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3ddd09 commit e673404Copy full SHA for e673404
lib/redmine_supply/hooks.rb
@@ -6,8 +6,8 @@ def redmine_gtt_print_issue_to_json(context)
6
issue = context[:issue]
7
json = context[:json]
8
attributes = json[:attributes] ||= {}
9
- attributes[:supply_items] = IssueSupplyItemsPresenter.(issue.issue_supply_items)
10
- attributes[:resource_items] = ResourceItemsPresenter.(issue.resource_items)
+ attributes[:supply_items] = IssueSupplyItemsPresenter.(issue.issue_supply_items).join("\r\n")
+ attributes[:resource_items] = ResourceItemsPresenter.(issue.resource_items).join("\r\n")
11
end
12
13
0 commit comments