summaryrefslogtreecommitdiffstats
path: root/app/views/issues
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2022-08-24 13:21:50 +0000
committerGo MAEDA <maeda@farend.jp>2022-08-24 13:21:50 +0000
commitf8033a069f99fd9947f05c2f4076bd8f0f575f98 (patch)
tree78d2330db21ecf052a618bf47324047183dc4fb6 /app/views/issues
parent35b2d6a244803a4f0a767a5ff5bcb9137a1d60c4 (diff)
downloadredmine-f8033a069f99fd9947f05c2f4076bd8f0f575f98.tar.gz
redmine-f8033a069f99fd9947f05c2f4076bd8f0f575f98.zip
Use query name as the file name when exporting queries (#16207).
Patch by Mizuki ISHIKAWA. git-svn-id: https://svn.redmine.org/redmine/trunk@21773 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues')
-rw-r--r--app/views/issues/index.html.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb
index 5a4d6b2c4..3e0d0cfe8 100644
--- a/app/views/issues/index.html.erb
+++ b/app/views/issues/index.html.erb
@@ -43,6 +43,7 @@
<h3 class="title"><%= l(:label_export_options, :export_format => 'CSV') %></h3>
<%= form_tag(_project_issues_path(@project, :format => 'csv'), :method => :get, :id => 'csv-export-form') do %>
<%= query_as_hidden_field_tags(@query) %>
+ <%= hidden_field_tag('query_name', @query.name) %>
<p>
<label><%= radio_button_tag 'c[]', '', true %> <%= l(:description_selected_columns) %></label><br />
<label><%= radio_button_tag 'c[]', 'all_inline' %> <%= l(:description_all_columns) %></label>