From fae5250e52506356965a478518aa7960ada3ec61 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 24 Mar 2012 12:57:28 +0000 Subject: Ability to add non-member watchers on issue creation (#5159). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9254 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/issues_controller.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'app/controllers/issues_controller.rb') diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb index 93a087361..f8d982c12 100644 --- a/app/controllers/issues_controller.rb +++ b/app/controllers/issues_controller.rb @@ -407,6 +407,7 @@ private @priorities = IssuePriority.active @allowed_statuses = @issue.new_statuses_allowed_to(User.current, true) + @available_watchers = (@issue.project.users.sort + @issue.watcher_users).uniq end def check_for_default_issue_status -- cgit v1.2.3