summaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2018-12-04 09:23:18 +0000
committerGo MAEDA <maeda@farend.jp>2018-12-04 09:23:18 +0000
commitc9cf695ad7631813771e6107c1a373db9727a632 (patch)
tree78fa709898650dfac863c3f7ad740b1b3d7f90ee /app/controllers
parent21d5bb33a296716c21371a809f5d9b6baeb54c17 (diff)
downloadredmine-c9cf695ad7631813771e6107c1a373db9727a632.tar.gz
redmine-c9cf695ad7631813771e6107c1a373db9727a632.zip
Wrong columns after CSV export (#26785).
Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17686 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/issues_controller.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb
index e1a3d860c..69a947b03 100644
--- a/app/controllers/issues_controller.rb
+++ b/app/controllers/issues_controller.rb
@@ -40,7 +40,8 @@ class IssuesController < ApplicationController
helper :timelog
def index
- retrieve_query
+ use_session = !request.format.csv?
+ retrieve_query(IssueQuery, use_session)
if @query.valid?
respond_to do |format|