From f361621ab5cc34c56c2ec13d03d49d54e15d0beb Mon Sep 17 00:00:00 2001 From: xinwen Date: Tue, 6 Apr 2021 19:43:37 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=B5=84=E4=BA=A7=E6=8E=88=E6=9D=83?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E6=8C=89=E5=90=8D=E7=A7=B0=E6=A8=A1=E7=B3=8A?= =?UTF-8?q?=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/perms/api/asset/asset_permission.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/perms/api/asset/asset_permission.py b/apps/perms/api/asset/asset_permission.py index 65fe316e6..ff4de7d9f 100644 --- a/apps/perms/api/asset/asset_permission.py +++ b/apps/perms/api/asset/asset_permission.py @@ -20,3 +20,4 @@ class AssetPermissionViewSet(OrgBulkModelViewSet): model = AssetPermission serializer_class = serializers.AssetPermissionSerializer filterset_class = AssetPermissionFilter + search_fields = ('name',)