diff --git a/apps/mtm/views.py b/apps/mtm/views.py index 868b7916..aaa987ea 100644 --- a/apps/mtm/views.py +++ b/apps/mtm/views.py @@ -67,5 +67,5 @@ class GoalViewSet(CustomModelViewSet): queryset = Goal.objects.all() serializer_class = GoalSerializer select_related_fields = ['mgroup', 'product', 'team', 'goal_cate'] - filterset_fields = ['mgroup', 'product', 'team', 'goal_cate', 'year'] + filterset_fields = ['mgroup', 'product', 'team', 'goal_cate', 'year', 'goal_cate__code'] search_fields = ['name'] \ No newline at end of file