Defect #36368 » fix-assignable_users.patch
| app/models/issue.rb (revision ec859e41d689ee3432113c3bd74ba48d060c9a2f) → app/models/issue.rb (date 1640864802728) | ||
|---|---|---|
|
return [] if project.nil?
|
||
|
users = project.assignable_users(tracker).to_a
|
||
|
users << author if author && author.active?
|
||
|
users << author if author && author.active? && self.visible?(author)
|
||
|
if assigned_to_id_was.present? && assignee = Principal.find_by_id(assigned_to_id_was)
|
||
|
users << assignee
|
||
|
end
|
||
- « Previous
- 1
- 2
- Next »