Work in progress: Continue on org view
This commit is contained in:
parent
17a07ea6e0
commit
b56bb92801
4 changed files with 18 additions and 5 deletions
|
@ -279,8 +279,7 @@ def get_organization_team_members(teamid):
|
|||
|
||||
|
||||
def get_teams_within_org(organization):
|
||||
joined = Team.select().join(TeamMember)
|
||||
return joined.where(Team.organization == organization)
|
||||
return Team.select().where(Team.organization == organization)
|
||||
|
||||
|
||||
def get_user_teams_within_org(username, organization):
|
||||
|
|
Reference in a new issue