Skip to content

Commit

Permalink
Merge branch 'main' into deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
fgregg committed Jan 6, 2024
2 parents 48ae373 + d0170da commit ff2e5f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions chicago/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ def primary_sponsorships(self):
sponsorships__person=self, sponsorships__primary=True
)
.annotate(last_action=models.Max("actions__date"))
.filter(last_action__isnull=False)
.order_by("-last_action")
)

Expand Down

0 comments on commit ff2e5f7

Please sign in to comment.