Allow filtering Devices by Cluster and Cluster Group.

This commit is contained in:
Julio-Oliveira-Encora 2024-06-10 15:45:39 -03:00
parent 860a66a060
commit f44d1fc57c

View File

@ -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(