trans filter bug

This commit is contained in:
caoqianming 2021-08-19 16:11:18 +08:00
parent 639cd4190a
commit 21463c1ba2
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ class TransitionViewSet(CreateModelMixin, UpdateModelMixin, RetrieveModelMixin,
queryset = Transition.objects.all()
serializer_class = TransitionSerializer
search_fields = ['name']
filterset_fields = ['workflow', 'state']
filterset_fields = ['workflow']
ordering = ['id']
class CustomFieldViewSet(CreateModelMixin, UpdateModelMixin, RetrieveModelMixin, DestroyModelMixin, GenericViewSet):