* Adjust the ajaxGetDropMenu method of the product module.
This commit is contained in:
@@ -695,7 +695,7 @@ class product extends control
|
||||
*/
|
||||
public function ajaxGetDropMenu($productID, $module, $method, $extra)
|
||||
{
|
||||
$products = ($module == 'product') ? $this->product->getList() : $this->product->getProductPairsByProject($this->session->PRJ);
|
||||
$products = ($module == 'product') ? $this->product->getList() : $this->product->getProductsByProject($this->session->PRJ);
|
||||
|
||||
$this->view->link = $this->product->getProductLink($module, $method, $extra);
|
||||
$this->view->productID = $productID;
|
||||
|
||||
@@ -308,7 +308,7 @@ class productModel extends model
|
||||
}
|
||||
|
||||
/**
|
||||
* Get products by project.
|
||||
* Get product pairs by project.
|
||||
*
|
||||
* @param int $projectID
|
||||
* @param int $status all|noclosed
|
||||
|
||||
Reference in New Issue
Block a user