* Remove condition of doc to max.
This commit is contained in:
@@ -1668,7 +1668,6 @@ class docModel extends model
|
||||
$query = $this->dao->select('t1.id,t1.title,t2.type,t2.product,t2.project,t2.execution')->from(TABLE_DOC)->alias('t1')
|
||||
->leftJoin(TABLE_DOCLIB)->alias('t2')->on('t1.lib=t2.id')
|
||||
->where('t1.deleted')->eq(0)
|
||||
->andWhere('t1.assetLib')->eq(0)
|
||||
->andWhere('t1.lib')->eq($libID)
|
||||
->beginIF($this->config->doc->notArticleType)->andWhere('t1.type')->notIN($this->config->doc->notArticleType)->fi()
|
||||
->get();
|
||||
@@ -2095,7 +2094,6 @@ class docModel extends model
|
||||
|
||||
$docs = $this->dao->select('*')->from(TABLE_DOC)
|
||||
->where('lib')->eq($rootID)
|
||||
->andWhere('assetLib')->eq(0)
|
||||
->andWhere('deleted')->eq(0)
|
||||
->fetchAll();
|
||||
$moduleDocs = array();
|
||||
|
||||
Reference in New Issue
Block a user