summaryrefslogtreecommitdiffstats
path: root/lib/redmine/export/pdf
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-04-28 07:26:29 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-04-28 07:26:29 +0000
commit61c7d539dccc3bec3da4d365443fb780bffd8ef0 (patch)
treed891c694b86e76ead3a95eb56ad37b4b633994f2 /lib/redmine/export/pdf
parentab2f00f2ebf34931f6fa9e67751535bb6cb0b728 (diff)
downloadredmine-61c7d539dccc3bec3da4d365443fb780bffd8ef0.tar.gz
redmine-61c7d539dccc3bec3da4d365443fb780bffd8ef0.zip
Adds Watcher list to the list of available query columns for issues (#29894).
Patch by Felix Schäfer (@felix). git-svn-id: https://svn.redmine.org/redmine/trunk@22793 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/export/pdf')
-rw-r--r--lib/redmine/export/pdf/issues_pdf_helper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/redmine/export/pdf/issues_pdf_helper.rb b/lib/redmine/export/pdf/issues_pdf_helper.rb
index 6a6f09437..1b94685f3 100644
--- a/lib/redmine/export/pdf/issues_pdf_helper.rb
+++ b/lib/redmine/export/pdf/issues_pdf_helper.rb
@@ -402,6 +402,8 @@ module Redmine
value = " " * level + value
when :attachments
value = value.to_a.map {|a| a.filename}.join("\n")
+ when :watcher_users
+ value = value.to_a.join("\n")
end
if value.is_a?(Date)
format_date(value)