summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-04-14 19:21:58 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-04-14 19:21:58 +0000
commit277bee62eb15a4a32d720deb26d881922bae7ef6 (patch)
tree39160ca08c2c6bce40d1a4d779bbe5c2cd370d83
parent741ddfb50b99b5193e1b5a0037cf406e4051df87 (diff)
downloadredmine-277bee62eb15a4a32d720deb26d881922bae7ef6.tar.gz
redmine-277bee62eb15a4a32d720deb26d881922bae7ef6.zip
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
-rw-r--r--app/controllers/issues_controller.rb1
1 files changed, 1 insertions, 0 deletions
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