diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-11-20 13:23:20 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-11-20 13:23:20 +0000 |
commit | ca300ccdeaf3cae3015a548ba3fffa9c6f112c55 (patch) | |
tree | 9b7d5d049a044c2cc39d44ca9a3e7d8af7edb614 /app/controllers/issues_controller.rb | |
parent | 617cb8d270acdf78f2c0c144d89668cd28750691 (diff) | |
download | redmine-ca300ccdeaf3cae3015a548ba3fffa9c6f112c55.tar.gz redmine-ca300ccdeaf3cae3015a548ba3fffa9c6f112c55.zip |
Adds a dialog box for CSV export options (#4742).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7874 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/issues_controller.rb')
-rw-r--r-- | app/controllers/issues_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb index d782a7965..7978bc001 100644 --- a/app/controllers/issues_controller.rb +++ b/app/controllers/issues_controller.rb @@ -94,7 +94,7 @@ class IssuesController < ApplicationController Issue.load_relations(@issues) if include_in_api_response?('relations') } format.atom { render_feed(@issues, :title => "#{@project || Setting.app_title}: #{l(:label_issue_plural)}") } - format.csv { send_data(issues_to_csv(@issues, @project), :type => 'text/csv; header=present', :filename => 'export.csv') } + format.csv { send_data(issues_to_csv(@issues, @project, @query, params), :type => 'text/csv; header=present', :filename => 'export.csv') } format.pdf { send_data(issues_to_pdf(@issues, @project, @query), :type => 'application/pdf', :filename => 'export.pdf') } end else |