diff options
Diffstat (limited to 'app/Filter/TaskSubtaskAssigneeFilter.php')
-rw-r--r-- | app/Filter/TaskSubtaskAssigneeFilter.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Filter/TaskSubtaskAssigneeFilter.php b/app/Filter/TaskSubtaskAssigneeFilter.php index 1096bf64..4c5e0f7b 100644 --- a/app/Filter/TaskSubtaskAssigneeFilter.php +++ b/app/Filter/TaskSubtaskAssigneeFilter.php @@ -116,6 +116,9 @@ class TaskSubtaskAssigneeFilter extends BaseFilter implements FilterInterface case 'nobody': $subquery->eq(SubtaskModel::TABLE.'.user_id', 0); break; + case 'anybody': + $subquery->gt(SubtaskModel::TABLE.'.user_id', 0); + break; default: $subquery->beginOr(); $subquery->ilike(UserModel::TABLE.'.username', $this->value.'%'); |