summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-03-13 08:01:55 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-03-13 08:01:55 +0000
commitd09b08046343d5fcd6a15024fdc8f48e73c9d064 (patch)
tree81c02c16bc6c0426722fae22d6900458d62463aa /app/views
parent985634ef9e647fc48a07241924b9e2586e448cb4 (diff)
downloadredmine-d09b08046343d5fcd6a15024fdc8f48e73c9d064.tar.gz
redmine-d09b08046343d5fcd6a15024fdc8f48e73c9d064.zip
Merged r15202 (#22108).
git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@15226 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/issues/index.html.erb6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb
index 8310dc73e..7cc2811f9 100644
--- a/app/views/issues/index.html.erb
+++ b/app/views/issues/index.html.erb
@@ -76,8 +76,10 @@
<% end %>
<div id="csv-export-options" style="display:none;">
- <h3 class="title"><%= l(:label_export_options, :export_format => 'CSV') %></h3>
- <%= form_tag(params.merge({:format => 'csv',:page=>nil}), :method => :get, :id => 'csv-export-form') do %>
+ <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 'sort', params[:sort], :id => nil %>
<p>
<label><%= radio_button_tag 'csv[columns]', '', true %> <%= l(:description_selected_columns) %></label><br />
<label><%= radio_button_tag 'csv[columns]', 'all' %> <%= l(:description_all_columns) %></label>