Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jessiebelle committed Jan 6, 2024
1 parent 551aa59 commit 6b517a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sponsors/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def get_queryset(self, *args, **kwargs):
year = sponsorship.year
# available_packages = SponsorshipPackage.objects.from_year(year)
qs = super().get_queryset(*args, **kwargs)
filtered = qs.filter(sponsorship_benefit__packages__year=year)
filtered = qs.filter(sponsorship_benefit__year=year)

return filtered.select_related("sponsorship_benefit__program", "program")

Expand Down

0 comments on commit 6b517a0

Please sign in to comment.