This commit is contained in:
wangyidong
2022-09-22 14:32:57 +08:00
parent 1b5a1296e0
commit 653118b916
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -236,6 +236,8 @@ class search extends control
foreach($typeCount as $objectType => $count)
{
if(!isset($this->lang->search->modules[$objectType])) continue;
if($this->config->systemMode != 'new' and $objectType == 'program') continue;
if(!empty($this->config->projectMode) and $this->config->projectMode == 'noSprint' and $objectType == 'execution') continue;
$typeList[$objectType] = $this->lang->search->modules[$objectType];
}