From b10daf5a01af5e3067be80794a3da78a38ba5203 Mon Sep 17 00:00:00 2001 From: zhouxin Date: Fri, 10 Jun 2022 01:40:16 +0000 Subject: [PATCH] * Adjust code. --- module/doc/model.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/doc/model.php b/module/doc/model.php index 639d1401ab..b476f43f03 100644 --- a/module/doc/model.php +++ b/module/doc/model.php @@ -885,6 +885,8 @@ class docModel extends model $this->config->doc->search['params']['project']['values'] = array('' => '') + $this->loadModel('project')->getPairsByProgram() + array('all' => $this->lang->doc->allProjects); $this->config->doc->search['params']['execution']['values'] = array('' => '') + $this->loadModel('execution')->getPairs() + array('all' => $this->lang->doc->allExecutions); $this->config->doc->search['params']['lib']['values'] = array('' => '') + $this->loadModel('doc')->getLibs('all', 'withObject') + array('all' => $this->lang->doclib->all); + + unset($this->config->doc->search['fields']['module']); } else {