mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-25 18:08:38 -06:00
Fixes #17337: Fix ordering of virtual device contexts by device name
This commit is contained in:
parent
b2bbdbf1d9
commit
d18a853baa
@ -1031,7 +1031,7 @@ class VirtualDeviceContextTable(TenancyColumnsMixin, NetBoxTable):
|
|||||||
)
|
)
|
||||||
device = tables.TemplateColumn(
|
device = tables.TemplateColumn(
|
||||||
verbose_name=_('Device'),
|
verbose_name=_('Device'),
|
||||||
order_by=('_name',),
|
order_by=('device___name',),
|
||||||
template_code=DEVICE_LINK,
|
template_code=DEVICE_LINK,
|
||||||
linkify=True
|
linkify=True
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user