summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2018-12-04 10:04:36 +0000
committerGo MAEDA <maeda@farend.jp>2018-12-04 10:04:36 +0000
commit57bfd3a1867b5e929c268f4ceb0f360a37bfd587 (patch)
tree6b4cde418ebbb108915dc82b8b6dbebe927a9346 /app
parent1b8d448b8292f2cbb86accf31e0dda940fbaaba2 (diff)
downloadredmine-57bfd3a1867b5e929c268f4ceb0f360a37bfd587.tar.gz
redmine-57bfd3a1867b5e929c268f4ceb0f360a37bfd587.zip
Merged r17686 from trunk to 3.4-stable (#26785).
git-svn-id: http://svn.redmine.org/redmine/branches/3.4-stable@17687 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-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|