mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-16 04:02:52 -06:00
Merge pull request #19480 from netbox-community/19472-vdc-device-column
Fixes #19472: Fix device column rendering in virtual device contexts table
This commit is contained in:
commit
f6a85775d7
@ -1091,10 +1091,9 @@ class VirtualDeviceContextTable(TenancyColumnsMixin, NetBoxTable):
|
|||||||
verbose_name=_('Name'),
|
verbose_name=_('Name'),
|
||||||
linkify=True
|
linkify=True
|
||||||
)
|
)
|
||||||
device = tables.TemplateColumn(
|
device = tables.Column(
|
||||||
verbose_name=_('Device'),
|
verbose_name=_('Device'),
|
||||||
order_by=('device___name',),
|
order_by=('device___name',),
|
||||||
template_code=DEVICE_LINK,
|
|
||||||
linkify=True
|
linkify=True
|
||||||
)
|
)
|
||||||
status = columns.ChoiceFieldColumn(
|
status = columns.ChoiceFieldColumn(
|
||||||
|
Loading…
Reference in New Issue
Block a user