diff options
Diffstat (limited to 'app/Model/TaskPaginator.php')
-rw-r--r-- | app/Model/TaskPaginator.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Model/TaskPaginator.php b/app/Model/TaskPaginator.php index 4ae3566c..bf537fbe 100644 --- a/app/Model/TaskPaginator.php +++ b/app/Model/TaskPaginator.php @@ -26,7 +26,7 @@ class TaskPaginator extends Base { return $this->taskFinder->getQuery() ->eq('project_id', $project_id) - ->like('title', '%'.$search.'%') + ->ilike('title', '%'.$search.'%') ->offset($offset) ->limit($limit) ->orderBy($column, $direction) @@ -45,7 +45,7 @@ class TaskPaginator extends Base { return $this->db->table(Task::TABLE) ->eq('project_id', $project_id) - ->like('title', '%'.$search.'%') + ->ilike('title', '%'.$search.'%') ->count(); } |