From a6265504b84ef40c75dcce9e04ed379d3bb5645c Mon Sep 17 00:00:00 2001 From: sunguangming Date: Sat, 11 May 2024 09:14:59 +0800 Subject: [PATCH] * Fix link story search bug. --- module/execution/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/execution/control.php b/module/execution/control.php index 8e917e3dd9..dc4decf156 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -2289,7 +2289,7 @@ class execution extends control $queryID = ($browseType == 'bySearch') ? (int)$param : 0; $this->execution->buildStorySearchForm($products, $branchGroups, $modules, $queryID, $actionURL, 'linkStory', $object); - if($browseType == 'bySearch') $allStories = $this->story->getBySearch(implode(',', array_keys($products)), '', $queryID, $orderBy, $objectID, $storyType); + if($browseType == 'bySearch') $allStories = $this->story->getBySearch('all', '', $queryID, $orderBy, $objectID, $storyType); if($browseType != 'bySearch') $allStories = $this->story->getProductStories(implode(',', array_keys($products)), $branchIDList, '0', 'active', $storyType, $orderBy, false, '', null); $linkedStories = $this->story->getExecutionStoryPairs($objectID, 0, 'all', 0, 'full', 'all', $storyType);