From 082254be15b2ae70735c3b568b8918afa0613c8e Mon Sep 17 00:00:00 2001 From: caoyanyi Date: Mon, 16 Jun 2025 16:26:47 +0800 Subject: [PATCH] * [bug#63370] filter story stage for report. --- module/metric/calc/system/scale/count_of_tested_story.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/metric/calc/system/scale/count_of_tested_story.php b/module/metric/calc/system/scale/count_of_tested_story.php index 3175ef2e0d..28b80b6c9c 100644 --- a/module/metric/calc/system/scale/count_of_tested_story.php +++ b/module/metric/calc/system/scale/count_of_tested_story.php @@ -28,7 +28,7 @@ class count_of_tested_story extends baseCalc public function calculate($row) { - if($row->stage == 'tested') $this->result ++; + if(strpos(',tested,verified,rejected,delivering,delivered,released,closed', ",$row->stage,") !== false) $this->result ++; } public function getResult($options = array())