diff --git a/module/testcase/ui/header.html.php b/module/testcase/ui/header.html.php
index a2217f4518..d2139d6332 100644
--- a/module/testcase/ui/header.html.php
+++ b/module/testcase/ui/header.html.php
@@ -67,7 +67,7 @@ if($canSwitchCaseType)
}
else
{
- $url = $this->createLink('testcase', 'browse', "productID=$productID&branch=$branch&browseType=$browseType¶m=$param&caseType=$type");
+ $url = $rawMethod == 'groupcase' ? $this->createLink('testcase', 'groupcase', "productID=$productID&branch=$branch&groupBy=$groupBy&projectID=$projectID&caseType=$type") : $this->createLink('testcase', 'browse', "productID=$productID&branch=$branch&browseType=$browseType¶m=$param&caseType=$type");
$text = $typeName;
}