mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-06-20 17:41:55 +02:00
🐛 Fix WEI tables
This commit is contained in:
@ -38,7 +38,6 @@ class NoteAdmin(PolymorphicParentModelAdmin):
|
||||
|
||||
# Organize notes by registration date
|
||||
date_hierarchy = 'created_at'
|
||||
ordering = ['name']
|
||||
|
||||
# Search by aliases
|
||||
search_fields = ['alias__name']
|
||||
|
@ -103,7 +103,7 @@ class WEIMembershipTable(tables.Table):
|
||||
|
||||
team = tables.LinkColumn(
|
||||
'wei:manage_bus_team',
|
||||
args=[A('bus.pk')],
|
||||
args=[A('team.pk')],
|
||||
)
|
||||
|
||||
def render_year(self, record):
|
||||
|
Reference in New Issue
Block a user