summaryrefslogtreecommitdiff
path: root/app/Filter/TaskAssigneeFilter.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Filter/TaskAssigneeFilter.php')
-rw-r--r--app/Filter/TaskAssigneeFilter.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Filter/TaskAssigneeFilter.php b/app/Filter/TaskAssigneeFilter.php
index d6962a93..d0e8a9fa 100644
--- a/app/Filter/TaskAssigneeFilter.php
+++ b/app/Filter/TaskAssigneeFilter.php
@@ -64,6 +64,9 @@ class TaskAssigneeFilter extends BaseFilter implements FilterInterface
case 'nobody':
$this->query->eq(TaskModel::TABLE.'.owner_id', 0);
break;
+ case 'anybody':
+ $this->query->gt(TaskModel::TABLE.'.owner_id', 0);
+ break;
default:
$this->query->beginOr();
$this->query->ilike(UserModel::TABLE.'.username', '%'.$this->value.'%');