🐛 Fix WEI tables
This commit is contained in:
parent
1abb40953f
commit
377397b319
3 changed files with 3 additions and 4 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue