Skip to content

Commit

Permalink
#57 shot in the dark
Browse files Browse the repository at this point in the history
  • Loading branch information
creecros committed May 4, 2021
1 parent 832bc6d commit 51261d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Filter/TaskAllAssigneeFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ public function apply()
$useridsarray = $this->getSubQuery()->findAllByColumn('id');
$useridstring = implode("','", $useridsarray);
(!empty($useridstring)) ? $useridstring = $useridstring : $useridstring = 0;
if ($useridstring == '') { $useridstring = 0; }
$this->query->beginOr();
$this->query->ilike(UserModel::TABLE.'.username', '%'.$this->value.'%');
$this->query->ilike(UserModel::TABLE.'.name', '%'.$this->value.'%');
Expand Down

0 comments on commit 51261d6

Please sign in to comment.