Fix the mega query.
This commit is contained in:
parent
8f5710afe5
commit
d63e75ddd2
1 changed files with 1 additions and 1 deletions
|
@ -432,7 +432,7 @@ def get_visible_repositories(username=None, include_public=True, limit=None,
|
|||
.join(Org, JOIN_LEFT_OUTER, on=(Org.username == Repository.namespace))
|
||||
.join(AdminTeam, JOIN_LEFT_OUTER, on=(Org.id ==
|
||||
AdminTeam.organization))
|
||||
.join(TeamRole, JOIN_LEFT_OUTER)
|
||||
.join(TeamRole, JOIN_LEFT_OUTER, on=(AdminTeam.role == TeamRole.id))
|
||||
.switch(AdminTeam)
|
||||
.join(AdminTeamMember, JOIN_LEFT_OUTER, on=(AdminTeam.id ==
|
||||
AdminTeamMember.team))
|
||||
|
|
Reference in a new issue