mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-10 01:28:16 -06:00
Custom fields don't work with the interface list at present. Trying to fix export and InterfaceListFilterForm now.
This commit is contained in:
parent
ad3814968a
commit
e729b560de
@ -1558,7 +1558,7 @@ class InterfaceBulkImportView(PermissionRequiredMixin, BulkImportView):
|
|||||||
class InterfaceListView(ObjectListView):
|
class InterfaceListView(ObjectListView):
|
||||||
queryset = Interface.objects.all()
|
queryset = Interface.objects.all()
|
||||||
filter = filters.InterfaceFilter
|
filter = filters.InterfaceFilter
|
||||||
filter_form = forms.InterfaceFilterForm
|
filter_form = forms.InterfaceListFilterForm
|
||||||
table = tables.InterfaceListTable
|
table = tables.InterfaceListTable
|
||||||
template_name = 'dcim/interface_list.html'
|
template_name = 'dcim/interface_list.html'
|
||||||
|
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
Import Interfaces
|
Import Interfaces
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% include 'inc/export_button.html' with obj_type='interfaces' %}
|
||||||
</div>
|
</div>
|
||||||
<h1>Interfaces</h1>
|
<h1>Interfaces</h1>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
Loading…
Reference in New Issue
Block a user