diff --git a/app/Filter/TaskSwimlaneFilter.php b/app/Filter/TaskSwimlaneFilter.php index 1afc6d48c..a339ec86b 100644 --- a/app/Filter/TaskSwimlaneFilter.php +++ b/app/Filter/TaskSwimlaneFilter.php @@ -34,14 +34,7 @@ class TaskSwimlaneFilter extends BaseFilter implements FilterInterface */ public function apply() { - if (is_int($this->value) || ctype_digit($this->value)) { - $this->query->eq(TaskModel::TABLE.'.swimlane_id', $this->value); - } else { - $this->query->beginOr(); - $this->query->ilike(SwimlaneModel::TABLE.'.name', $this->value); - $this->query->closeOr(); - } - + $this->query->ilike(SwimlaneModel::TABLE.'.name', $this->value); return $this; } }