Skip to content

Commit

Permalink
fix: standartize subscription list ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
vncsna committed Feb 2, 2024
1 parent a2b130d commit b0e5e22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bd_api/apps/account/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class CareerInline(admin.StackedInline):
class SubscriptionInline(admin.StackedInline):
model = Subscription
extra = 0
ordering = ["-created_at"]
ordering = ["-subscription__created"]

def has_add_permission(self, request, obj=None):
return False
Expand Down

0 comments on commit b0e5e22

Please sign in to comment.