mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-27 10:58:37 -06:00
Fixes #17337: Fix ordering of virtual device contexts by device name
This commit is contained in:
parent
8af41a65cc
commit
2f2a30ae94
@ -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