Skip to content

Commit

Permalink
Order ticket tiers by last modified (#1011)
Browse files Browse the repository at this point in the history
  • Loading branch information
halfmoonui authored Feb 9, 2024
1 parent 3eb94ca commit 909252d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/apps/root/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -935,6 +935,9 @@ class TransactionType(models.TextChoices):
help_text="Additional information for this tier provided by the host.",
)

class Meta:
ordering = ("-modified",)

def __str__(self):
return f"TicketTier: {self.ticket_type}"

Expand Down

0 comments on commit 909252d

Please sign in to comment.