* Assign switcherObjectID, and all products are displayed only if multiple products exist.
This commit is contained in:
@@ -609,11 +609,12 @@ class execution extends control
|
||||
|
||||
$this->executionZen->assignTestcaseVars($executionID, $productID, $branchID, $moduleID, $orderBy, $type, $pager);
|
||||
|
||||
$this->view->execution = $execution;
|
||||
$this->view->productOption = $productOption;
|
||||
$this->view->branchOption = $branchOption;
|
||||
$this->view->switcherParams = "executionID={$executionID}&productID={$productID}¤tMethod=testcase";
|
||||
$this->view->switcherText = isset($products[$productID]) ? $products[$productID]->name : $this->lang->product->all;
|
||||
$this->view->execution = $execution;
|
||||
$this->view->productOption = $productOption;
|
||||
$this->view->branchOption = $branchOption;
|
||||
$this->view->switcherParams = "executionID={$executionID}&productID={$productID}¤tMethod=testcase";
|
||||
$this->view->switcherText = isset($products[$productID]) ? $products[$productID]->name : $this->lang->product->all;
|
||||
$this->view->switcherObjectID = $productID;
|
||||
$this->display();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user