diff options
author | Go MAEDA <maeda@farend.jp> | 2020-04-01 16:20:10 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2020-04-01 16:20:10 +0000 |
commit | c7806ccbdf883a436496b23696c3a385f641235f (patch) | |
tree | a9987d3524a1a0f7a4b3306e64d927c3e02a09c6 /app/views/issues | |
parent | 0a80c4c14b6a6cd339fa1bfcb5de4715619bef04 (diff) | |
download | redmine-c7806ccbdf883a436496b23696c3a385f641235f.tar.gz redmine-c7806ccbdf883a436496b23696c3a385f641235f.zip |
Fix issues and spent time CSV export does not include custom fields with "Full width layout" enabled (#33169).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@19632 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues')
-rw-r--r-- | app/views/issues/index.html.erb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb index fccf118c9..c4719569d 100644 --- a/app/views/issues/index.html.erb +++ b/app/views/issues/index.html.erb @@ -48,8 +48,9 @@ <label><%= radio_button_tag 'c[]', 'all_inline' %> <%= l(:description_all_columns) %></label> </p> <p> - <label><%= check_box_tag 'c[]', 'description', @query.has_column?(:description) %> <%= l(:field_description) %></label> - <label><%= check_box_tag 'c[]', 'last_notes', @query.has_column?(:last_notes) %> <%= l(:label_last_notes) %></label> + <% @query.available_block_columns.each do |column| %> + <label><%= check_box_tag 'c[]', column.name, @query.has_column?(column) %> <%= column.caption %></label> + <% end %> </p> <%= export_csv_encoding_select_tag %> <% if @issue_count > Setting.issues_export_limit.to_i %> |