summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-04-09 05:55:26 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-04-09 05:55:26 +0000
commit4c2c426af75f1db02d6ae4b0d75a602f8fa9de3a (patch)
tree0ffda70560da21b1ce738e6adb9862d2c89c5b05 /app/views
parent6bf9dcaed17ee92d720db970443fbdeb158320f2 (diff)
downloadredmine-4c2c426af75f1db02d6ae4b0d75a602f8fa9de3a.tar.gz
redmine-4c2c426af75f1db02d6ae4b0d75a602f8fa9de3a.zip
Merged r15298 (#22354).
git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@15310 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/issues/index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb
index 7cc2811f9..d0497c69a 100644
--- a/app/views/issues/index.html.erb
+++ b/app/views/issues/index.html.erb
@@ -79,7 +79,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 'sort', params[:sort], :id => nil %>
+ <%= hidden_field_tag 'sort', @sort_criteria.to_param, :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>