* Finished Task#4805.
This commit is contained in:
@@ -438,7 +438,7 @@ class docModel extends model
|
||||
->where('t1.deleted')->eq(0)
|
||||
->beginIF($this->config->global->flow == 'onlyTask')->andWhere('product')->eq(0)->fi()
|
||||
->beginIF($this->config->global->flow == 'onlyStory' || $this->config->global->flow == 'onlyTest')->andWhere('project')->eq(0)->fi()
|
||||
->andWhere('t1.id')->in($docIdList)
|
||||
->beginIF(!empty($docIdList))->andWhere('t1.id')->in($docIdList)->fi()
|
||||
->andWhere('t1.title', true)->like("%{$this->session->searchDoc}%")
|
||||
->orWhere('t2.content')->like("%{$this->session->searchDoc}%")->markRight(1)
|
||||
->andWhere('t1.lib')->in($allLibs)
|
||||
|
||||
Reference in New Issue
Block a user