From c27adab6ffe4500426559f9de5c3d87419f87bcf Mon Sep 17 00:00:00 2001 From: Nikita Manovich Date: Fri, 22 Mar 2019 16:54:12 +0300 Subject: [PATCH] Fix filtration by status. --- cvat/apps/engine/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cvat/apps/engine/views.py b/cvat/apps/engine/views.py index e478d328fbd4..cf9e082872cf 100644 --- a/cvat/apps/engine/views.py +++ b/cvat/apps/engine/views.py @@ -135,7 +135,7 @@ class TaskFilter(filters.FilterSet): name = filters.CharFilter(field_name="name", lookup_expr="icontains") owner = filters.CharFilter(field_name="owner__username", lookup_expr="icontains") mode = filters.CharFilter(field_name="mode", lookup_expr="icontains") - status = filters.CharFilter(field_name="mode", lookup_expr="icontains") + status = filters.CharFilter(field_name="status", lookup_expr="icontains") assignee = filters.CharFilter(field_name="assignee__username", lookup_expr="icontains") class Meta: