From 8c81661d3757cb171cfdcfc163195d0f3eb37cd1 Mon Sep 17 00:00:00 2001 From: tanghucheng Date: Sat, 2 Apr 2022 14:30:25 +0800 Subject: [PATCH] * Fix bug #21431. --- module/task/control.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/task/control.php b/module/task/control.php index 4b9de25297..0d55cde668 100644 --- a/module/task/control.php +++ b/module/task/control.php @@ -368,11 +368,11 @@ class task extends control if($story) { $moduleID = $story->module; - $stories = $this->story->getExecutionStoryPairs($executionID, 0, 'all', $moduleID, 'short'); + $stories = $this->story->getExecutionStoryPairs($executionID, 0, 'all', $moduleID, 'short', 'unclosed'); } else { - $stories = $this->story->getExecutionStoryPairs($executionID, 0, 'all', 0, 'short'); + $stories = $this->story->getExecutionStoryPairs($executionID, 0, 'all', 0, 'short', 'unclosed'); } $members = $this->loadModel('user')->getTeamMemberPairs($executionID, 'execution', 'nodeleted');