diff options
Diffstat (limited to 'app/finders/merge_requests')
-rw-r--r-- | app/finders/merge_requests/by_approvals_finder.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/finders/merge_requests/by_approvals_finder.rb b/app/finders/merge_requests/by_approvals_finder.rb index 94f13468327..8b2e9aa8df1 100644 --- a/app/finders/merge_requests/by_approvals_finder.rb +++ b/app/finders/merge_requests/by_approvals_finder.rb @@ -71,9 +71,7 @@ module MergeRequests # # @param [ActiveRecord::Relation] items the activerecord relation def with_any_approvals(items) - items.select_from_union([ - items.with_approvals - ]) + items.select_from_union([items.with_approvals]) end # Merge requests approved by given usernames |