From 3e1701b36098cf644e435f5399b8f54fa8528065 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Wed, 22 Apr 2020 08:16:13 +0800 Subject: [PATCH] * fix bug for show hignlight. --- module/block/view/productstatisticblock.html.php | 5 +++-- module/block/view/projectstatisticblock.html.php | 5 +++-- module/story/model.php | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/module/block/view/productstatisticblock.html.php b/module/block/view/productstatisticblock.html.php index 71c17ad717..0cd78d0661 100644 --- a/module/block/view/productstatisticblock.html.php +++ b/module/block/view/productstatisticblock.html.php @@ -108,8 +108,9 @@ $(function()
-
+
diff --git a/module/block/view/projectstatisticblock.html.php b/module/block/view/projectstatisticblock.html.php index d69eae780e..4f027e30a5 100644 --- a/module/block/view/projectstatisticblock.html.php +++ b/module/block/view/projectstatisticblock.html.php @@ -92,8 +92,9 @@ $(function()
-
+
diff --git a/module/story/model.php b/module/story/model.php index fdc449340f..1a3e33e84d 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -2657,7 +2657,7 @@ class storyModel extends model ->fetchPairs('id', 'title'); /* For requirement children. */ - if($type == 'requirement' && $this->config->storyCommon == 0) + if($type == 'requirement' && !empty($this->config->urAndSr)) { $relations = $this->dao->select('DISTINCT AID, BID')->from(TABLE_RELATION) ->where('AID')->in(array_keys($stories))