fix_author_assignee.patch

salman mp, 2021-12-29 14:32

Download (642 Bytes)

View differences:

app/models/issue.rb (date 1640777418920)
975 975
    return [] if project.nil?
976 976
    users = project.assignable_users(tracker).to_a
977
    users << author if author && author.active?
977
    users << author if author && author.active? && project.users.include?(author)
978 978
    if assigned_to_id_was.present? && assignee = Principal.find_by_id(assigned_to_id_was)
979 979
      users << assignee
980 980
    end