Commit 95ae19ca authored by GitLab Bot's avatar GitLab Bot

Automatic merge of gitlab-org/gitlab-ce master

parents 409d3764 b3145bc9
...@@ -46,7 +46,7 @@ module Clusters ...@@ -46,7 +46,7 @@ module Clusters
def group_clusters_base_query def group_clusters_base_query
group_parent_id_alias = alias_as_column(groups[:parent_id], 'group_parent_id') group_parent_id_alias = alias_as_column(groups[:parent_id], 'group_parent_id')
join_sources = ::Group.left_joins(:clusters).join_sources join_sources = ::Group.left_joins(:clusters).arel.join_sources
model model
.unscoped .unscoped
...@@ -59,7 +59,7 @@ module Clusters ...@@ -59,7 +59,7 @@ module Clusters
def project_clusters_base_query def project_clusters_base_query
projects = ::Project.arel_table projects = ::Project.arel_table
project_parent_id_alias = alias_as_column(projects[:namespace_id], 'group_parent_id') project_parent_id_alias = alias_as_column(projects[:namespace_id], 'group_parent_id')
join_sources = ::Project.left_joins(:clusters).join_sources join_sources = ::Project.left_joins(:clusters).arel.join_sources
model model
.unscoped .unscoped
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment