From 277bee62eb15a4a32d720deb26d881922bae7ef6 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 14 Apr 2008 19:21:58 +0000 Subject: [PATCH] Issue list shows all tickets when going back to a global query inside a project (closes #1055). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1352 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/issues_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb index 369d888ef..0f1d84265 100644 --- a/app/controllers/issues_controller.rb +++ b/app/controllers/issues_controller.rb @@ -413,6 +413,7 @@ private else @query = Query.find_by_id(session[:query][:id]) if session[:query][:id] @query ||= Query.new(:name => "_", :project => @project, :filters => session[:query][:filters]) + @query.project = @project end end end