소스 검색

Fixed devicetype_id filter for DeviceType components

Jeremy Stretch 8 년 전
부모
커밋
7843a6bf77
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      netbox/dcim/filters.py

+ 1 - 0
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)',
     )