mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-07 08:08:15 -06:00
Switch device link in InterfaceListTable to identifier property
This commit is contained in:
parent
8b70ea78ce
commit
13170708a2
@ -550,7 +550,7 @@ class InterfaceImportTable(BaseTable):
|
||||
|
||||
class InterfaceListTable(BaseTable):
|
||||
device = tables.LinkColumn('dcim:device', accessor=Accessor('interface.device'),
|
||||
args=[Accessor('interface.device.pk')], verbose_name='Device')
|
||||
args=[Accessor('interface.device.identifier')], verbose_name='Device')
|
||||
name = tables.TemplateColumn(template_code=INTERFACE_LINK, verbose_name='Interface')
|
||||
#name = tables.Column(verbose_name='Interface')
|
||||
#enabled = tables.TemplateColumn(template_code=INTERFACE_ENABLED, verbose_name='Enabled')
|
||||
|
Loading…
Reference in New Issue
Block a user