From b959253bdf177d5dd876645c2fa52ae9ea13990e Mon Sep 17 00:00:00 2001 From: zhengrunyu Date: Fri, 19 Nov 2021 09:48:57 +0800 Subject: [PATCH] *Finish task #16368. --- module/build/control.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/module/build/control.php b/module/build/control.php index aa1dc47bef..918fcf2d6e 100644 --- a/module/build/control.php +++ b/module/build/control.php @@ -62,6 +62,12 @@ class build extends control $execution = $this->execution->getByID($executionID); $executions = $this->execution->getPairs($execution->project); } + + $executionList = $this->execution->getByIdList(array_keys($executions)); + foreach($executionList as $execution) + { + if($execution->lifetime == 'ops') unset($executions[$execution->id]); + } $productGroups = $this->loadModel('product')->getProducts($executionID); $productID = $productID ? $productID : key($productGroups);