You need to add the following line:
elsif c.name.to_s == "helpdesk_ticket"
formatted_issue[c.caption] = ""
in
/plugins/redmine_pivot_table/app/helpers/pivottables_helper.rb
after
issues.each{|i|
formatted_issue = {}
@query.available_columns.each{|c|
if c.name.to_s == "id"
formatted_issue["ID"] = column_content(c, i)
Also I had no luck with the date conversion so I had to revert to the previous code:
if column_content(c, i).to_s != ""
# formatted_issue[c.caption+"(U)"] = Date.strptime(column_content(c, i), strpformat).strftime("%Y-W%U") # org
formatted_issue[c.caption+"(U)"] = Date.parse(column_content(c, i)).strftime("%Y-W%U") # working
# formatted_issue[c.caption+"(U)"] = Date.strptime(column_content(c, i),I18n.t(:"date.formats.default", {:locale => I18n.locale })).strftime("%Y-W%U")
You need to add the following line:
in
/plugins/redmine_pivot_table/app/helpers/pivottables_helper.rb
after
Also I had no luck with the date conversion so I had to revert to the previous code: