From f123cdefc1aeb66b6ea46a500d37d035b37fffe6 Mon Sep 17 00:00:00 2001 From: mayue Date: Thu, 4 Nov 2021 08:18:20 +0800 Subject: [PATCH 1/2] * Fix bug #12047. --- module/block/control.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/module/block/control.php b/module/block/control.php index 6e77f100d0..46562ac62e 100644 --- a/module/block/control.php +++ b/module/block/control.php @@ -278,6 +278,11 @@ class block extends control { $block->moreLink = $this->createLink('project', 'testtask', "projectID=$projectID"); } + elseif($moduleName == 'testtask' and $method == 'browse') + { + $block->moreLink = $this->createLink('testtask', 'browse', "projectID=$projectID" . '&branch=0' . '&type=all,totalStatus'); + } + } elseif($block->block == 'dynamic') { From cb6a36fd4b34d5bcbb3d7c2d304cbea96a7a47a5 Mon Sep 17 00:00:00 2001 From: mayue Date: Thu, 4 Nov 2021 08:54:25 +0800 Subject: [PATCH 2/2] * Fix bug #12047. --- module/block/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/block/control.php b/module/block/control.php index 46562ac62e..1f93eaa279 100644 --- a/module/block/control.php +++ b/module/block/control.php @@ -280,7 +280,7 @@ class block extends control } elseif($moduleName == 'testtask' and $method == 'browse') { - $block->moreLink = $this->createLink('testtask', 'browse', "projectID=$projectID" . '&branch=0' . '&type=all,totalStatus'); + $block->moreLink = $this->createLink('testtask', 'browse', "productID=0&branch=0&type=all,totalStatus"); } }