* Adjust the ajaxGetDropMenu method of the product module.

This commit is contained in:
leiyong
2020-11-19 10:54:29 +08:00
parent aae58fea38
commit d142a8a69b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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