From 8eab87f40ddfa5dade92aca0219e20bdc7457920 Mon Sep 17 00:00:00 2001 From: feng <1304903146@qq.com> Date: Tue, 19 Dec 2023 15:05:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=91=BD=E4=BB=A4=E7=BB=84=E6=A8=A1?= =?UTF-8?q?=E7=B3=8A=E6=90=9C=E7=B4=A2=EF=BC=8C500?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/acls/api/command_acl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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