mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-07 08:08:15 -06:00
Switch to all()
This commit is contained in:
parent
39a9c1a723
commit
8475f78802
@ -1556,8 +1556,7 @@ class InterfaceBulkImportView(PermissionRequiredMixin, BulkImportView):
|
||||
|
||||
|
||||
class InterfaceListView(ObjectListView):
|
||||
queryset = Interface.objects.select_related('device').filter(interface__isnull=False)\
|
||||
.order_by('interface__device__name', 'interface__name')
|
||||
queryset = Interface.objects.all()
|
||||
filter = filters.InterfaceFilter
|
||||
filter_form = forms.InterfaceFilterForm
|
||||
table = tables.InterfaceListTable
|
||||
|
Loading…
Reference in New Issue
Block a user