From 78182537b1000b5500aab1ad550ccd8694b5e789 Mon Sep 17 00:00:00 2001 From: Yagami Date: Thu, 25 Oct 2018 09:06:31 +0800 Subject: [PATCH] * Delete doc search condition. --- module/doc/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/doc/model.php b/module/doc/model.php index c247c71dde..5551b4dc61 100644 --- a/module/doc/model.php +++ b/module/doc/model.php @@ -708,7 +708,7 @@ class docModel extends model $moduleOptionMenu = $this->loadModel('tree')->getOptionMenu($libID, 'doc', $startModuleID = 0); $this->config->doc->search['params']['module']['values'] = $moduleOptionMenu; - if($type == 'index' || $type == 'objectLibs') + if($type == 'index' || $type == 'objectLibs' || $libID == 0) { unset($this->config->doc->search['fields']['module']); unset($this->config->doc->search['fields']['lib']);