diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-02-23 11:07:43 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-02-23 11:07:43 +0000 |
commit | 797a9f1ea945c891b5974881d0b3d6b5c4f56125 (patch) | |
tree | f0ed773e17d6b1d5a0619ab7f5ac06078e30f9a7 /app/controllers/issues_controller.rb | |
parent | 9b1ebd6808d260a95eff38c2a93ec2c1b7ed8183 (diff) | |
download | redmine-797a9f1ea945c891b5974881d0b3d6b5c4f56125.tar.gz redmine-797a9f1ea945c891b5974881d0b3d6b5c4f56125.zip |
Refactor: #issues_to_csv and #entries_to_csv merged into QueriesHelper#query_to_csv.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11448 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 11469a20b..314460c6f 100644 --- a/app/controllers/issues_controller.rb +++ b/app/controllers/issues_controller.rb @@ -85,7 +85,7 @@ class IssuesController < ApplicationController Issue.load_visible_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, @query, params), :type => 'text/csv; header=present', :filename => 'export.csv') } + format.csv { send_data(query_to_csv(@issues, @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 |