From d6d72a6dfd477fa5475f2737ed808d966cbd5967 Mon Sep 17 00:00:00 2001 From: wangzemei Date: Fri, 18 Jul 2025 10:39:39 +0800 Subject: [PATCH] * [bug#64125] fix the issues of filter title. --- module/story/zen.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/module/story/zen.php b/module/story/zen.php index c121ca19d0..64141edf4f 100644 --- a/module/story/zen.php +++ b/module/story/zen.php @@ -2047,15 +2047,18 @@ class storyZen extends story $searchFields = $this->session->projectstoryForm; $featureBar = array_merge($this->lang->projectstory->featureBar['story'], $this->lang->projectstory->moreSelects['story']['more']); } + + $fieldParams = array(); + if($searchConfig) $fieldParams = json_decode($searchConfig['fieldParams'], true); if($browseType != 'bysearch' && $browseType != 'bymodule') { $statusName = zget($featureBar, $browseType, ''); $filter = sprintf($this->lang->story->report->tpl->feature, $statusName); if(!$param) return $filter; + + return $filter . zget($this->lang->search->andor, 'and') . sprintf($this->lang->story->report->tpl->search, $this->config->$fieldsType->search['fields']['module'], '=', zget($fieldParams['module']['values'], $param)); } - $fieldParams = array(); - if($searchConfig) $fieldParams = json_decode($searchConfig['fieldParams'], true); if($browseType == 'bymodule' && $param) { if($filter) $filter .= ', ';