From 6694820dcd9f5aa7da169337713ee3e5104b5663 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Wed, 4 Sep 2024 16:00:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20mtaskb=E6=9F=A5=E8=AF=A2=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/pm/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/pm/views.py b/apps/pm/views.py index 93b03a54..bc56e17c 100644 --- a/apps/pm/views.py +++ b/apps/pm/views.py @@ -211,5 +211,5 @@ class MtaskbViewSet(CustomModelViewSet): queryset = Mtaskb.objects.all() serializer_class = MtaskbSerializer update_serializer_class = MtaskbUpdateSerializer - filterset_fields = {"mtask": ["exact"], "handle_user": ["exact"], "mgroup": ["exact"]} + filterset_fields = {"mtask": ["exact"], "handle_user": ["exact"], "mtask__mgroup": ["exact"]} ordering = ['id'] \ No newline at end of file