1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Closes #2057: Added description columns to interface connections list

This commit is contained in:
Jeremy Stretch
2018-11-05 14:41:51 -05:00
parent 82076d3ca6
commit e57b3bc4ab
3 changed files with 12 additions and 1 deletions

View File

@@ -1732,6 +1732,8 @@ class InterfaceConnectionsListView(ObjectListView):
# Avoid duplicate connections by only selecting the lower PK in a connected pair
_connected_interface__isnull=False,
pk__lt=F('_connected_interface')
).order_by(
'device'
)
filter = filters.InterfaceConnectionFilter
filter_form = forms.InterfaceConnectionFilterForm