From 5f119b33eafbacbe83770b3c28e956ea46dfa8b4 Mon Sep 17 00:00:00 2001 From: Prssanna Desai Date: Wed, 17 Jun 2020 15:07:20 +0530 Subject: [PATCH] fix: fetch todos with status not equal to cancelled in assigned to sidebar filter (#10714) (cherry picked from commit d682a64ebd3d2cd3d307ff06ceca7a729412dda7) --- frappe/desk/listview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/desk/listview.py b/frappe/desk/listview.py index 1bce14fb2d..1d10a13930 100644 --- a/frappe/desk/listview.py +++ b/frappe/desk/listview.py @@ -35,7 +35,7 @@ def get_group_by_count(doctype, current_filters, field): from `tabToDo`, `tabUser` where - `tabToDo`.status='Open' and + `tabToDo`.status!='Cancelled' and `tabToDo`.owner = `tabUser`.name and `tabUser`.user_type = 'System User' {subquery_condition}