From 2c02bfb29cca17bc960fc06d1ff28aedf38e4403 Mon Sep 17 00:00:00 2001 From: holan20180123 Date: Thu, 29 Jul 2021 14:17:33 +0800 Subject: [PATCH] * Remove condition of doc to max. --- module/doc/model.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/module/doc/model.php b/module/doc/model.php index 079442df2c..8897976d8d 100644 --- a/module/doc/model.php +++ b/module/doc/model.php @@ -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();