Unverified Commit 45444149 authored by BaiJiangJie's avatar BaiJiangJie Committed by GitHub

Merge pull request #3482 from jumpserver/domain_search

[Update] 修复网域列表页面无法搜索问题
parents 715b04e2 7c5592fa
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment