From dd6f2289a19205e08d85bbeb12cbe7f6c9605763 Mon Sep 17 00:00:00 2001 From: zhouxin Date: Tue, 11 Jun 2024 14:26:19 +0800 Subject: [PATCH] * [bug#47595,done,1h] filter closed execution when create bug. --- module/bug/zen.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/bug/zen.php b/module/bug/zen.php index a802066178..f309873eea 100644 --- a/module/bug/zen.php +++ b/module/bug/zen.php @@ -949,7 +949,7 @@ class bugZen extends bug $branch = (string)$bug->branch; $projectID = (int)$bug->projectID; $executionID = (int)$bug->executionID; - $executions = $this->product->getExecutionPairsByProduct($productID, $branch ? "0,$branch" : '0', $projectID, !$projectID ? 'multiple|stagefilter' : 'stagefilter'); + $executions = $this->product->getExecutionPairsByProduct($productID, $branch ? "0,$branch" : '0', $projectID, !$projectID ? 'multiple|stagefilter|noclosed' : 'stagefilter|noclosed'); $executionID = isset($executions[$executionID]) ? $executionID : ''; $execution = null;