diff --git a/module/execution/control.php b/module/execution/control.php index 76c872448f..1f99dec929 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -1061,10 +1061,11 @@ class execution extends control $this->session->set('caseList', $uri, 'execution'); $this->session->set('bugList', $uri, 'execution'); - $products = array('0' => $this->lang->product->all) + $this->product->getProducts($executionID, 'all', '', false); + $products = $this->product->getProducts($executionID, 'all', '', false); + if(count($products) == 1) $productID = key($products); $extra = $executionID; - $this->lang->modulePageNav = $this->product->select($products, $productID, 'execution', 'testcase', $extra, 0, 0, '', false); + $this->lang->modulePageNav = $this->product->select(array('0' => $this->lang->product->all) + $products, $productID, 'execution', 'testcase', $extra, 0, 0, '', false); /* Load pager. */ $this->app->loadClass('pager', $static = true); diff --git a/module/execution/css/testcase.css b/module/execution/css/testcase.css index 0dce57455f..3f05682eb7 100644 --- a/module/execution/css/testcase.css +++ b/module/execution/css/testcase.css @@ -1,2 +1,3 @@ .c-id, .c-pri {width: 50px;} .c-result {width: 80px;} +#pageNav #dropMenu .col-left {padding-bottom: 0px;} diff --git a/module/execution/view/testcase.html.php b/module/execution/view/testcase.html.php index dd8d2aca0f..b99f870c88 100644 --- a/module/execution/view/testcase.html.php +++ b/module/execution/view/testcase.html.php @@ -27,8 +27,9 @@