* code for bug #15815.

This commit is contained in:
wangyidong
2022-04-28 11:54:46 +08:00
parent fbd33f5262
commit 4e24558f9f
+1 -1
View File
@@ -90,7 +90,7 @@ class docModel extends model
$projects = $this->loadModel('project')->getPairsByProgram();
$executions = $this->loadModel('execution')->getPairs();
$waterfalls = array();
if($type == 'all' or $type == 'execution')
if(empty($objectID) and ($type == 'all' or $type == 'execution'))
{
$waterfalls = $this->dao->select('t1.id,t2.name')->from(TABLE_EXECUTION)->alias('t1')
->leftJoin(TABLE_PROJECT)->alias('t2')->on('t1.project=t2.id')