summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2021-03-25 01:42:00 +0000
committerGo MAEDA <maeda@farend.jp>2021-03-25 01:42:00 +0000
commit319e8a2620e43ac4997bb76735f33fc12b92b46d (patch)
tree57a50131c294fc6f3aa4e997d9ae9579d7e8a114 /app
parent63ef0c9eb782bf79891d65225e86bcb02283e358 (diff)
downloadredmine-319e8a2620e43ac4997bb76735f33fc12b92b46d.tar.gz
redmine-319e8a2620e43ac4997bb76735f33fc12b92b46d.zip
Show project tree instead of subprojects in the project selector when you create a new issue (#34798).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20840 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/helpers/issues_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb
index 363d970c8..4651a9258 100644
--- a/app/helpers/issues_helper.rb
+++ b/app/helpers/issues_helper.rb
@@ -748,7 +748,7 @@ module IssuesHelper
if issue.parent_issue_id.present?
issue.allowed_target_projects_for_subtask(User.current)
elsif @project && issue.new_record? && !issue.copy?
- issue.allowed_target_projects(User.current, 'descendants')
+ issue.allowed_target_projects(User.current, 'tree')
else
issue.allowed_target_projects(User.current)
end