Skip to content

Commit

Permalink
Merge pull request #2101 from gtech-mulearn/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
jelanmathewjames authored Jun 20, 2024
2 parents 0922337 + ebe1ce4 commit 1529abd
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 1529abd

Please sign in to comment.