From f96171f529713c885b2f4343a97f1994a2852bb7 Mon Sep 17 00:00:00 2001 From: Nick Peelman Date: Fri, 1 Jul 2016 13:55:44 -0400 Subject: [PATCH] Fix interface connections list view glitch --- netbox/dcim/tables.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netbox/dcim/tables.py b/netbox/dcim/tables.py index 3a8f364ef..ed3bbbda5 100644 --- a/netbox/dcim/tables.py +++ b/netbox/dcim/tables.py @@ -5,7 +5,7 @@ from utilities.tables import BaseTable, ToggleColumn from .models import ( ConsolePort, ConsolePortTemplate, ConsoleServerPortTemplate, Device, DeviceRole, DeviceType, InterfaceTemplate, - Manufacturer, Platform, PowerOutletTemplate, PowerPort, PowerPortTemplate, Rack, RackGroup, Site, + Interface, Manufacturer, Platform, PowerOutletTemplate, PowerPort, PowerPortTemplate, Rack, RackGroup, Site, ) @@ -305,5 +305,5 @@ class InterfaceConnectionTable(BaseTable): interface_b = tables.Column(verbose_name='Interface B') class Meta(BaseTable.Meta): - model = PowerPort + model = Interface fields = ('device_a', 'interface_a', 'device_b', 'interface_b')