diff --git a/module/bug/model.php b/module/bug/model.php index 80850637da..30993d7042 100644 --- a/module/bug/model.php +++ b/module/bug/model.php @@ -3191,9 +3191,19 @@ class bugModel extends model $class .= ' c-user'; $title = "title='" . zget($users, $bug->resolvedBy) . "'"; break; + case 'openedBy': + $class .= ' c-user'; + $title = "title='" . zget($users, $bug->openedBy) . "'"; + break; case 'project': $title = "title='" . zget($projectPairs, $bug->project, '') . "'"; break; + case 'plan': + $title = "title='" . zget($plans, $bug->plan) . "'"; + break; + case 'execution': + $title = "title='" . zget($executions, $bug->execution) . "'"; + break; case 'resolvedBuild': $class .= ' text-ellipsis'; $title = "title='" . $bug->resolvedBuild . "'"; diff --git a/module/execution/control.php b/module/execution/control.php index 324a6acd14..d5f2dc2394 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -1058,7 +1058,7 @@ class execution extends control $this->view->builds = $this->build->getBuildPairs($productID); $this->view->branchOption = $branchOption; $this->view->branchTagOption = $branchTagOption; - $this->view->plans = $this->loadModel('productplan')->getPairs($productID); + $this->view->plans = $this->loadModel('productplan')->getPairs($productID ? $productID : array_keys($products)); $this->view->stories = $storyList; $this->view->tasks = $taskList; $this->view->projectPairs = $this->loadModel('project')->getPairsByProgram(); diff --git a/module/project/control.php b/module/project/control.php index bac7826271..e33392021a 100644 --- a/module/project/control.php +++ b/module/project/control.php @@ -1183,7 +1183,7 @@ class project extends control $this->view->branchOption = $branchOption; $this->view->branchTagOption = $branchTagOption; $this->view->executions = $executions; - $this->view->plans = $this->loadModel('productplan')->getPairs($productID); + $this->view->plans = $this->loadModel('productplan')->getPairs($productID ? $productID : array_keys($products)); $this->view->stories = $storyList; $this->view->tasks = $taskList; $this->view->projectPairs = $this->project->getPairsByProgram();