Skip to content

Commit

Permalink
Merge pull request #2134 from gtech-mulearn/dev-server
Browse files Browse the repository at this point in the history
Dev server
  • Loading branch information
jelanmathewjames authored Jul 5, 2024
2 parents 87b86c6 + f278ab5 commit 623a340
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 @@ -43,9 +43,9 @@ def get(self, request):
queryset=UserOrganizationLink.objects.filter(org__org_type__in=allowed_org_types),
)
).filter(
Q(user_organization_link_user__id__in=UserOrganizationLink.objects.filter(
Q(user_organization_link_user__user_id__in=UserOrganizationLink.objects.filter(
org__org_type__in=["College", "School", "Company", "Community"]
).values("id")) | Q(user_organization_link_user__id__isnull=True)
).values("user_id")) | Q(user_organization_link_user__id__isnull=True)
).annotate(
karma=Subquery(total_karma_subquery, output_field=IntegerField()),
org=F("user_organization_link_user__org__title"),
Expand Down

0 comments on commit 623a340

Please sign in to comment.