Skip to content

Commit

Permalink
Closes netbox-community#1561: Add Primary IP for a device to Search R…
Browse files Browse the repository at this point in the history
  • Loading branch information
huzichunjohn authored and John Anderson committed Oct 13, 2017
1 parent 301d20f commit 879c7ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions netbox/netbox/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from circuits.tables import CircuitTable, ProviderTable
from dcim.filters import DeviceFilter, DeviceTypeFilter, RackFilter, SiteFilter
from dcim.models import ConsolePort, Device, DeviceType, InterfaceConnection, PowerPort, Rack, Site
from dcim.tables import DeviceTable, DeviceTypeTable, RackTable, SiteTable
from dcim.tables import DeviceDetailTable, DeviceTypeTable, RackTable, SiteTable
from extras.models import TopologyMap, UserAction
from ipam.filters import AggregateFilter, IPAddressFilter, PrefixFilter, VLANFilter, VRFFilter
from ipam.models import Aggregate, IPAddress, Prefix, VLAN, VRF
Expand Down Expand Up @@ -70,7 +70,7 @@
'device_type__manufacturer', 'device_role', 'tenant', 'site', 'rack'
),
'filter': DeviceFilter,
'table': DeviceTable,
'table': DeviceDetailTable,
'url': 'dcim:device_list',
}),
# IPAM
Expand Down

0 comments on commit 879c7ee

Please sign in to comment.