fix: fetch todos with status not equal to cancelled in assigned to sidebar filter (#10714)
(cherry picked from commit d682a64ebd3d2cd3d307ff06ceca7a729412dda7)
This commit is contained in:
parent
4c6b58da26
commit
5f119b33ea
1 changed files with 1 additions and 1 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue