* finish task #2344.
This commit is contained in:
@@ -316,7 +316,7 @@ class doc extends control
|
||||
$this->view->moduleID = $moduleID;
|
||||
$this->view->productID = $productID;
|
||||
$this->view->projectID = $projectID;
|
||||
$this->view->products = $projectID == 0 ? $this->product->getPairs() : $this->project->getProducts($projectID);
|
||||
$this->view->products = $projectID == 0 ? $this->product->getPairs() : $this->project->getProducts($projectID, false);
|
||||
$this->view->projects = $this->loadModel('project')->getPairs('all');
|
||||
|
||||
$this->display();
|
||||
@@ -370,7 +370,7 @@ class doc extends control
|
||||
$this->view->libID = $libID;
|
||||
$this->view->libs = $this->libs;
|
||||
$this->view->moduleOptionMenu = $moduleOptionMenu;
|
||||
$this->view->products = $doc->project == 0 ? $this->product->getPairs() : $this->project->getProducts($doc->project);
|
||||
$this->view->products = $doc->project == 0 ? $this->product->getPairs() : $this->project->getProducts($doc->project, false);
|
||||
$this->view->projects = $this->loadModel('project')->getPairs('all');
|
||||
$this->display();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user