From: Jean-Philippe Lang Date: Fri, 26 Jan 2007 22:05:32 +0000 (+0000) Subject: fixed: filters ignored when exporting a predefined query to csv/pdf X-Git-Tag: 0.4.2~68 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2c187c43bf2991248c62ac1cf1fc287d3be6338f;p=redmine.git fixed: filters ignored when exporting a predefined query to csv/pdf git-svn-id: http://redmine.rubyforge.org/svn/trunk@192 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index 41b9e5b34..f536c39a2 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -533,6 +533,7 @@ private def retrieve_query if params[:query_id] @query = @project.queries.find(params[:query_id]) + session[:query] = @query else if params[:set_filter] or !session[:query] or session[:query].project_id != @project.id # Give it a name, required to be valid