mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-07 16:18:16 -06:00
Switch to CharFilter for role
This commit is contained in:
parent
2ac540c303
commit
eeaa914b70
@ -591,7 +591,7 @@ class InterfaceListFilter(django_filters.FilterSet):
|
|||||||
# name='device_role',
|
# name='device_role',
|
||||||
# label='Role (ID)',
|
# label='Role (ID)',
|
||||||
#)
|
#)
|
||||||
role = django_filters.ModelMultipleChoiceFilter(
|
role = django_filters.CharFilter(
|
||||||
method='filter_role',
|
method='filter_role',
|
||||||
label='Role (slug)',
|
label='Role (slug)',
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user