* Add testtask switcher link.

This commit is contained in:
Yagami
2021-04-26 11:12:30 +08:00
parent 0c0508e6cd
commit 6b962a12c4
+4
View File
@@ -1575,6 +1575,10 @@ class productModel extends model
{
$link = helper::createLink($module, 'report', "productID=%s" . ($branch ? "&branch=%s" : '&branch=0') . "&extra=$extra");
}
elseif($module == 'testtask')
{
$link = helper::createLink($module, 'browse', "productID=%s" . ($branch ? "&branch=%s" : '&branch=0') . "&extra=$extra");
}
elseif($module == 'bug' && $method == 'view')
{
$link = helper::createLink('bug', 'browse', "productID=%s" . ($branch ? "&branch=%s" : '&branch=0') . "&extra=$extra");