diff options
author | rafacamargo123 <rafacamargo123@gmail.com> | 2019-03-07 09:06:04 -0300 |
---|---|---|
committer | fguillot <fred@kanboard.net> | 2019-03-07 22:13:39 -0800 |
commit | cccd020988fbc0e7a3c53e0c1a3a2a1d342b2775 (patch) | |
tree | b7fa33c8639bd7a36f881305bc03184b760d6c7b /app/Filter | |
parent | 3bf8c29dad9a115e904e876edf5c5fdf4f8c8141 (diff) |
Changes search by reference to case insentive
Search was being performed case sensitive, changed to case insensitive
Diffstat (limited to 'app/Filter')
-rw-r--r-- | app/Filter/TaskReferenceFilter.php | 2 |
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; } |