mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-09 00:58:16 -06:00
Allow filtering Devices by Cluster and Cluster Group.
This commit is contained in:
parent
860a66a060
commit
f44d1fc57c
@ -1021,7 +1021,6 @@ class DeviceFilterSet(
|
||||
cluster_group = django_filters.ModelMultipleChoiceFilter(
|
||||
field_name='cluster__group',
|
||||
queryset=ClusterGroup.objects.all(),
|
||||
# to_field_name='slug',
|
||||
label=_('Cluster group (name)'),
|
||||
)
|
||||
model = django_filters.ModelMultipleChoiceFilter(
|
||||
|
Loading…
Reference in New Issue
Block a user