mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-07 16:18:16 -06:00
Remove slug
This commit is contained in:
parent
4ff1f07f8b
commit
2ac540c303
@ -616,7 +616,7 @@ class InterfaceListFilter(django_filters.FilterSet):
|
||||
def filter_role(self, queryset, name, value):
|
||||
if not value.strip():
|
||||
return queryset
|
||||
return queryset.filter(device__device_role__slug=value)
|
||||
return queryset.filter(device__device_role=value)
|
||||
|
||||
def filter_type(self, queryset, name, value):
|
||||
value = value.strip().lower()
|
||||
|
Loading…
Reference in New Issue
Block a user