diff --git a/module/execution/control.php b/module/execution/control.php index f230a8aa9f..a03498b20d 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -2353,12 +2353,12 @@ class execution extends control public function dynamic($executionID = 0, $type = 'today', $param = '', $recTotal = 0, $date = '', $direction = 'next') { /* Save session. */ - $uri = $this->app->getURI(true); + $uri = $this->app->getURI(true); $this->session->set('productList', $uri); $this->session->set('productPlanList', $uri); $this->session->set('releaseList', $uri); $this->session->set('storyList', $uri); - $this->session->set('executionList', $uri); + $this->session->set('executionList', $uri); $this->session->set('taskList', $uri); $this->session->set('buildList', $uri); $this->session->set('bugList', $uri); diff --git a/module/execution/view/dynamic.html.php b/module/execution/view/dynamic.html.php index f559f130f0..488962a9be 100755 --- a/module/execution/view/dynamic.html.php +++ b/module/execution/view/dynamic.html.php @@ -47,8 +47,8 @@ foreach($userIdPairs as $userID => $name) { if(!$userID) continue; - $searchKey = $withSearch ? ('data-key="' . zget($usersPinYin, $userID, '') . '"') : ''; - echo html::a($this->createLink('execution', 'dynamic', "productID=$executionID&type=account¶m=$userID"), $name); + $searchKey = $withSearch ? ('data-key="' . zget($usersPinYin, $name, '') . '"') : ''; + echo html::a($this->createLink('execution', 'dynamic', "productID=$executionID&type=account¶m=$userID"), $name, '', $searchKey); } ?>