summaryrefslogtreecommitdiffstats
path: root/app/views/issues
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-04-01 16:20:10 +0000
committerGo MAEDA <maeda@farend.jp>2020-04-01 16:20:10 +0000
commitc7806ccbdf883a436496b23696c3a385f641235f (patch)
treea9987d3524a1a0f7a4b3306e64d927c3e02a09c6 /app/views/issues
parent0a80c4c14b6a6cd339fa1bfcb5de4715619bef04 (diff)
downloadredmine-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.erb5
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 %>