Update netbox/dcim/tables/devices.py

Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
This commit is contained in:
Daniel Sheppard 2022-11-10 15:05:46 -06:00 committed by GitHub
parent 484ed84b4a
commit 99e36f23f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -895,7 +895,7 @@ class VirtualDeviceContextTable(TenancyColumnsMixin, NetBoxTable):
order_by=('_name',), order_by=('_name',),
template_code=DEVICE_LINK template_code=DEVICE_LINK
) )
status = tables.Column() status = columns.ChoiceFieldColumn()
primary_ip = tables.Column( primary_ip = tables.Column(
linkify=True, linkify=True,
order_by=('primary_ip4', 'primary_ip6'), order_by=('primary_ip4', 'primary_ip6'),