Browse Source

Fix all teams queryset

David Cramer 9 years ago
parent
commit
9c2d031f5d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/sentry/web/frontend/organization_home.py

+ 1 - 1
src/sentry/web/frontend/organization_home.py

@@ -28,7 +28,7 @@ class OrganizationHomeView(OrganizationView):
         ).order_by('name')
 
         all_teams = []
-        for team in all_teams:
+        for team in all_team_qs:
             all_teams.append((team, team.id in active_team_set))
 
         if request.access.is_global: