mirror of https://github.com/jumpserver/jumpserver
fix: 修复账号备份存在外键search 500 bug
parent
de74477fd6
commit
005032ea00
|
@ -32,8 +32,8 @@ class AccountBackupPlanExecutionViewSet(
|
|||
mixins.RetrieveModelMixin, viewsets.GenericViewSet
|
||||
):
|
||||
serializer_class = serializers.AccountBackupPlanExecutionSerializer
|
||||
search_fields = ('trigger', 'plan_id')
|
||||
filterset_fields = search_fields
|
||||
search_fields = ('trigger',)
|
||||
filterset_fields = ('trigger', 'plan_id')
|
||||
permission_classes = (IsOrgAdmin,)
|
||||
|
||||
def get_queryset(self):
|
||||
|
|
Loading…
Reference in New Issue