From 7843a6bf77fe20e544c9b8abfcd9f763913eecce Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Fri, 18 Aug 2017 10:27:43 -0400 Subject: [PATCH] Fixed devicetype_id filter for DeviceType components --- netbox/dcim/filters.py | 1 + 1 file changed, 1 insertion(+) diff --git a/netbox/dcim/filters.py b/netbox/dcim/filters.py index 54a7af4e2..a9f58d2a4 100644 --- a/netbox/dcim/filters.py +++ b/netbox/dcim/filters.py @@ -273,6 +273,7 @@ class DeviceTypeFilter(CustomFieldFilterSet, django_filters.FilterSet): class DeviceTypeComponentFilterSet(django_filters.FilterSet): devicetype_id = django_filters.ModelMultipleChoiceFilter( queryset=DeviceType.objects.all(), + name='device_type_id', label='Device type (ID)', )