2
0
Fork 0

Sort team members by name

This commit is contained in:
Luca 2023-05-13 23:59:03 +02:00
parent d3da06a145
commit 3d217db98d
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ class TeamMemberAdmin(admin.ModelAdmin):
fields = ("id", "name", "url")
readonly_fields = ("id", "url")
list_display = ("name", "shift_count")
ordering = ("name",)
inlines = (FallbackAssignmentInline,)
actions = (assign_random_shifts, clear_shifts) # , reshuffle_shifts)