summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/Filter/TaskReferenceFilter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Filter/TaskReferenceFilter.php b/app/Filter/TaskReferenceFilter.php
index d843b777..2fe6f8a6 100644
--- a/app/Filter/TaskReferenceFilter.php
+++ b/app/Filter/TaskReferenceFilter.php
@@ -33,7 +33,7 @@ class TaskReferenceFilter extends BaseFilter implements FilterInterface
public function apply()
{
if (strpos($this->value, '*') >= 0) {
- $this->query->like(TaskModel::TABLE.'.reference', str_replace('*', '%', $this->value));
+ $this->query->ilike(TaskModel::TABLE.'.reference', str_replace('*', '%', $this->value));
return $this;
}