Skip to content

Commit

Permalink
Merge pull request #2102 from gtech-mulearn/dev-server
Browse files Browse the repository at this point in the history
Dev server
  • Loading branch information
jelanmathewjames authored Jun 20, 2024
2 parents 1ee4d65 + 1529abd commit aa61c64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/launchpad/launchpad_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ def get(self, request):
role__title__in=allowed_levels).select_related('role')
)
).filter(
user_organization_link_user__id__in=UserOrganizationLink.objects.filter(
Q(user_organization_link_user__id__in=UserOrganizationLink.objects.filter(
org__org_type__in=allowed_org_types
).values("id")
).values("id")) | Q(user_organization_link_user__id__isnull=True)
).annotate(
org=F("user_organization_link_user__org__title"),
district_name=F("user_organization_link_user__org__district__name"),
Expand Down

0 comments on commit aa61c64

Please sign in to comment.