summaryrefslogtreecommitdiffstats
path: root/app/views/timelog/index.html.erb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-04-03 16:48:28 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-04-03 16:48:28 +0000
commit25209273d33de5d690b0c89b4a462b979bfd4324 (patch)
treeb98f13f833bc649e04f4403bae408bf7f48ea208 /app/views/timelog/index.html.erb
parent4224a0c3feebda795190dedb8e61521dee2e8ffe (diff)
downloadredmine-25209273d33de5d690b0c89b4a462b979bfd4324.tar.gz
redmine-25209273d33de5d690b0c89b4a462b979bfd4324.zip
Fixed that CSV Export of Spent Time ignores filters and columns selection (#13618).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11696 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/timelog/index.html.erb')
-rw-r--r--app/views/timelog/index.html.erb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/timelog/index.html.erb b/app/views/timelog/index.html.erb
index 35ddf8121..fa0c20ff3 100644
--- a/app/views/timelog/index.html.erb
+++ b/app/views/timelog/index.html.erb
@@ -27,7 +27,8 @@
<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 %>
+ <%= form_tag(params.slice(:project_id, :issue_id).merge(:format => 'csv', :page=>nil), :method => :get, :id => 'csv-export-form') do %>
+ <%= query_hidden_tags @query %>
<p>
<label><%= radio_button_tag 'columns', '', true %> <%= l(:description_selected_columns) %></label><br />
<label><%= radio_button_tag 'columns', 'all' %> <%= l(:description_all_columns) %></label>