summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2018-12-06 23:21:53 +0000
committerGo MAEDA <maeda@farend.jp>2018-12-06 23:21:53 +0000
commitc10df9f26667614c636c9d6ec98c5d1b3f233be6 (patch)
tree72c9abc31dfe99dcc74c4037248e564d08e6ed1f /app
parent1d5fd81871f2035dc0721ebbcdbd6da16e39bd5a (diff)
downloadredmine-c10df9f26667614c636c9d6ec98c5d1b3f233be6.tar.gz
redmine-c10df9f26667614c636c9d6ec98c5d1b3f233be6.zip
Include closed projects in search for scope subprojects (#28636).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17692 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/controllers/search_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/search_controller.rb b/app/controllers/search_controller.rb
index 00b023872..744c3a3cb 100644
--- a/app/controllers/search_controller.rb
+++ b/app/controllers/search_controller.rb
@@ -49,7 +49,7 @@ class SearchController < ApplicationController
when 'my_projects'
User.current.projects
when 'subprojects'
- @project ? (@project.self_and_descendants.active.to_a) : nil
+ @project ? (@project.self_and_descendants.to_a) : nil
else
@project
end