diff options
author | Rémy Coutable <remy@rymai.me> | 2016-04-21 19:49:08 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-04-21 19:49:08 +0300 |
commit | 5e37d02d0ebd64249186577e306b7c502953a2e1 (patch) | |
tree | 0e976119858593f193295ae7c3ed6f96ea0c2b25 /app/finders | |
parent | d2bf73b7763a4cf51d3319cf8056534a2ce22fda (diff) |
Remove the `.distinct` when finding issues
This is not needed anymore after !3815.
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'app/finders')
-rw-r--r-- | app/finders/issuable_finder.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/finders/issuable_finder.rb b/app/finders/issuable_finder.rb index 93aa30b3255..f00f3f709e9 100644 --- a/app/finders/issuable_finder.rb +++ b/app/finders/issuable_finder.rb @@ -278,9 +278,7 @@ class IssuableFinder end end - # When filtering by multiple labels we may end up duplicating issues (if one - # has multiple labels). This ensures we only return unique issues. - items.distinct + items end def by_due_date(items) |