From 2875dd873cb51551afb8c0c40dc413bdd72a6d41 Mon Sep 17 00:00:00 2001 From: wangzemei Date: Thu, 24 Jul 2025 08:58:45 +0800 Subject: [PATCH 1/2] * [bug#64306] fix the display issue of featureBar. --- module/story/zen.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/story/zen.php b/module/story/zen.php index 64141edf4f..82079ec6db 100644 --- a/module/story/zen.php +++ b/module/story/zen.php @@ -2031,14 +2031,14 @@ class storyZen extends story * @access public * @return string */ - protected function processFilterTitle(string $browseType, int $param): string + protected function processFilterTitle(string $browseType, int $param, object $project = null): string { $filter = ''; $fieldsType = 'execution'; $searchConfig = $this->session->executionStorysearchParams; $searchFields = $this->session->executionStoryForm; $featureBar = $this->lang->execution->featureBar['story']; - if($this->app->tab == 'project') + if($this->app->tab == 'project' && !empty($project->multiple)) { $this->app->loadLang('projectstory'); $this->app->loadConfig('product'); From 307d8521904b2416bb0b70c2e3b45f55ba58374f Mon Sep 17 00:00:00 2001 From: wangzemei Date: Thu, 24 Jul 2025 09:50:54 +0800 Subject: [PATCH 2/2] * [bug#64306] modify the multiple. --- module/story/zen.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/story/zen.php b/module/story/zen.php index 82079ec6db..4c49f22926 100644 --- a/module/story/zen.php +++ b/module/story/zen.php @@ -2031,14 +2031,14 @@ class storyZen extends story * @access public * @return string */ - protected function processFilterTitle(string $browseType, int $param, object $project = null): string + protected function processFilterTitle(string $browseType, int $param): string { $filter = ''; $fieldsType = 'execution'; $searchConfig = $this->session->executionStorysearchParams; $searchFields = $this->session->executionStoryForm; $featureBar = $this->lang->execution->featureBar['story']; - if($this->app->tab == 'project' && !empty($project->multiple)) + if($this->app->tab == 'project' && $this->session->multiple) { $this->app->loadLang('projectstory'); $this->app->loadConfig('product');