diff options
author | Valery Sizov <valery@gitlab.com> | 2017-05-29 12:20:41 +0300 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2017-05-29 12:24:30 +0300 |
commit | c3bca2ac743bfb76415ba8cf5d23cbd0c4245b9f (patch) | |
tree | f5c96f6722282ebb5d7f0d01016fb9be69ea11df /app | |
parent | e5226177ac667c8ad4cc07270bbdef24031eb8a2 (diff) |
Fix: Milestone - Participants list is showing duplicate assignees
Diffstat (limited to 'app')
-rw-r--r-- | app/models/milestone.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/milestone.rb b/app/models/milestone.rb index c06bfe0ccdd..b04bed4c014 100644 --- a/app/models/milestone.rb +++ b/app/models/milestone.rb @@ -107,7 +107,7 @@ class Milestone < ActiveRecord::Base end def participants - User.joins(assigned_issues: :milestone).where("milestones.id = ?", id) + User.joins(assigned_issues: :milestone).where("milestones.id = ?", id).uniq end def self.sort(method) |