[Update] 修复网域列表页面无法搜索问题

pull/3482/head
jym503558564 5 years ago
parent 715b04e2b2
commit 7c5592fa36

@ -16,6 +16,8 @@ __all__ = ['DomainViewSet', 'GatewayViewSet', "GatewayTestConnectionApi"]
class DomainViewSet(OrgBulkModelViewSet):
model = Domain
filter_fields = ("name", )
search_fields = filter_fields
permission_classes = (IsOrgAdminOrAppUser,)
serializer_class = serializers.DomainSerializer

Loading…
Cancel
Save