From 13170708a2c11a58b05aa995b93e1ee52c559b9b Mon Sep 17 00:00:00 2001 From: Joseph Kennedy Date: Thu, 3 Aug 2017 21:23:41 -0400 Subject: [PATCH] Switch device link in InterfaceListTable to identifier property --- netbox/dcim/tables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/dcim/tables.py b/netbox/dcim/tables.py index 1acce6218..fa3fa3f9a 100644 --- a/netbox/dcim/tables.py +++ b/netbox/dcim/tables.py @@ -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')