* Finish task #43903.

This commit is contained in:
tianshujie
2021-11-05 08:59:55 +08:00
parent e893c7f6c3
commit 6cb70ab01d
17 changed files with 150 additions and 40 deletions
+1 -1
View File
@@ -1320,7 +1320,7 @@ class bugModel extends model
else
{
$this->config->bug->search['fields']['branch'] = $this->lang->product->branch;
$this->config->bug->search['params']['branch']['values'] = array('' => '') + $this->loadModel('branch')->getPairs($productID, 'noempty') + array('all' => $this->lang->branch->all);
$this->config->bug->search['params']['branch']['values'] = array('' => '', 0 => $this->lang->branch->main) + $this->loadModel('branch')->getPairs($productID, 'noempty') + array('all' => $this->lang->branch->all);
}
$this->loadModel('search')->setSearchParams($this->config->bug->search);