From e0d73b85748e2c9f686bbd5b08870a1dd36af3c4 Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Mon, 22 Nov 2021 15:59:41 +0800 Subject: [PATCH] * Fix bug#16542. --- module/tree/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/tree/model.php b/module/tree/model.php index ec6a421893..578f344282 100644 --- a/module/tree/model.php +++ b/module/tree/model.php @@ -1199,7 +1199,7 @@ class treeModel extends model $moduleName = $this->app->tab == 'project' ? 'project' : 'testcase'; $methodName = $this->app->tab == 'project' ? 'testcase' : 'browse'; $projectParam = $this->app->tab == 'project' ? "projectID={$this->session->project}&" : ''; - return html::a(helper::createLink($moduleName, $methodName, $projectParam . "root={$module->root}&branch=&type=byModule¶m={$module->id}"), $module->name, '_self', "id='module{$module->id}' data-app='{$this->app->tab}' title='{$module->name}'"); + return html::a(helper::createLink($moduleName, $methodName, $projectParam . "root={$module->root}&branch={$module->branch}&type=byModule¶m={$module->id}"), $module->name, '_self', "id='module{$module->id}' data-app='{$this->app->tab}' title='{$module->name}'"); } /**