diff --git a/apps/acls/api/command_acl.py b/apps/acls/api/command_acl.py index 2043f274d..8f7cc531a 100644 --- a/apps/acls/api/command_acl.py +++ b/apps/acls/api/command_acl.py @@ -11,7 +11,7 @@ __all__ = ['CommandFilterACLViewSet', 'CommandGroupViewSet'] class CommandGroupViewSet(OrgBulkModelViewSet): model = models.CommandGroup filterset_fields = ('name', 'command_filters') - search_fields = filterset_fields + search_fields = ('name',) serializer_class = serializers.CommandGroupSerializer