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
This commit is contained in:
Jean-Philippe Lang 2008-04-14 19:21:58 +00:00
parent 741ddfb50b
commit 277bee62eb
1 changed files with 1 additions and 0 deletions

View File

@ -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