mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-14 01:41:22 -06:00
Change PrefixTable.vlan to represent the VLAN ID rather than the VLAN object, to enable more useful sorting by VLAN ID rather than site-grouped VLAN objects
This commit is contained in:
parent
53aa2c8624
commit
4456c488f1
@ -200,8 +200,9 @@ class PrefixTable(TenancyColumnsMixin, NetBoxTable):
|
||||
verbose_name=_('VLAN Group')
|
||||
)
|
||||
vlan = tables.Column(
|
||||
accessor='vlan__vid',
|
||||
linkify=True,
|
||||
verbose_name=_('VLAN')
|
||||
verbose_name=_('VLAN ID')
|
||||
)
|
||||
role = tables.Column(
|
||||
verbose_name=_('Role'),
|
||||
|
Loading…
Reference in New Issue
Block a user