mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-08 00:28:16 -06:00
Change queryset to test output
This commit is contained in:
parent
7e9d052248
commit
836dc37ee1
@ -1556,8 +1556,8 @@ class InterfaceBulkImportView(PermissionRequiredMixin, BulkImportView):
|
||||
|
||||
|
||||
class InterfaceListView(ObjectListView):
|
||||
#queryset = Interface.objects.select_related('device')\
|
||||
# .order_by('device', 'interface__name', 'interface__description')
|
||||
queryset = Interface.objects.select_related('device').filter(interface__isnull=False)\\
|
||||
.order_by('interface__device__name', 'interface__name')
|
||||
filter = filters.InterfaceFilter
|
||||
filter_form = forms.InterfaceFilterForm
|
||||
table = tables.InterfaceListTable
|
||||
|
Loading…
Reference in New Issue
Block a user