Add category attribute for advanced search
This commit is contained in:
@@ -26,21 +26,6 @@ class TaskFinder extends Base
|
||||
->eq('is_active', Task::STATUS_CLOSED);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get query for task search
|
||||
*
|
||||
* @access public
|
||||
* @param integer $project_id Project id
|
||||
* @param string $search Search terms
|
||||
* @return \PicoDb\Table
|
||||
*/
|
||||
public function getSearchQuery($project_id, $search)
|
||||
{
|
||||
return $this->getExtendedQuery()
|
||||
->eq('project_id', $project_id)
|
||||
->ilike('title', '%'.$search.'%');
|
||||
}
|
||||
|
||||
/**
|
||||
* Get query for assigned user tasks
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user