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 {