diff --git a/module/task/model.php b/module/task/model.php index bbb765eecf..eaa61de718 100644 --- a/module/task/model.php +++ b/module/task/model.php @@ -1666,6 +1666,7 @@ class taskModel extends model ->beginIF($type == 'assignedTo')->andWhere('t1.status')->ne('closed')->fi() ->beginIF($type == 'finishedBy') ->andWhere('t1.finishedby', 1)->eq($account) + ->andWhere('t1.status')->eq('done') ->orWhere('t1.finishedList')->like("%,{$account},%") ->markRight(1) ->fi()