Fixes #18845: restores sort behavior for DeviceTable.name column

This commit is contained in:
Jason Novinger 2025-03-10 17:46:21 -05:00
parent 292463c0de
commit 2063867777

View File

@ -145,7 +145,8 @@ class DeviceTable(TenancyColumnsMixin, ContactsColumnMixin, NetBoxTable):
verbose_name=_('Name'),
accessor=Accessor('label'),
template_code=DEVICE_LINK,
linkify=True
linkify=True,
order_by=('name',)
)
status = columns.ChoiceFieldColumn(
verbose_name=_('Status'),