Skip to content

Commit

Permalink
admin: Fix membership filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe2k committed Jan 21, 2025
1 parent c8db865 commit 01e9f13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ class MembershipAdmin(admin.ModelAdmin[Membership]):
"is_active",
"get_sponsored",
]
list_filter = ["is_active", "get_sponsored"]
list_filter = ["is_active", "player__sponsored"]
actions = [export_as_csv]

@admin.display(description="Player Name", ordering="player__user__first_name")
Expand Down

0 comments on commit 01e9f13

Please sign in to comment.