|
|
|
|
@ -322,7 +322,7 @@ class RoundAdmin(SyncedObjectAdmin): |
|
|
|
|
class PlayerRegistrationAdmin(SyncedObjectAdmin): |
|
|
|
|
list_display = ['first_name', 'last_name', 'licence_id', 'rank'] |
|
|
|
|
search_fields = ['id', 'first_name', 'last_name', 'licence_id__icontains'] |
|
|
|
|
list_filter = ['registered_online', TeamScoreTournamentListFilter] |
|
|
|
|
list_filter = ['registered_online', 'payment_id', TeamScoreTournamentListFilter] |
|
|
|
|
ordering = ['last_name', 'first_name'] |
|
|
|
|
raw_id_fields = ['team_registration'] # Add this line |
|
|
|
|
list_per_page = 50 # Controls pagination on the list view |
|
|
|
|
|