]> source.dussan.org Git - redmine.git/commitdiff
fixed: filters ignored when exporting a predefined query to csv/pdf
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 26 Jan 2007 22:05:32 +0000 (22:05 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 26 Jan 2007 22:05:32 +0000 (22:05 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@192 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/projects_controller.rb

index 41b9e5b34c6189215f17ffec7d71bc716f66d3b0..f536c39a23f0f0f7e861974f8355065afee1fe61 100644 (file)
@@ -533,6 +533,7 @@ private
   def retrieve_query\r
     if params[:query_id]\r
       @query = @project.queries.find(params[:query_id])\r
+      session[:query] = @query\r
     else\r
       if params[:set_filter] or !session[:query] or session[:query].project_id != @project.id\r
         # Give it a name, required to be valid\r