add parameters (#33729)
This commit is contained in:
parent
2ea30b0150
commit
8b1d8d7d19
1 changed files with 7 additions and 2 deletions
|
|
@ -3039,7 +3039,9 @@ class Form
|
|||
}
|
||||
|
||||
// Add from (left join) from hooks
|
||||
$parameters = array();
|
||||
$parameters = array(
|
||||
'socid' => $socid,
|
||||
);
|
||||
$reshook = $hookmanager->executeHooks('selectProductsListFrom', $parameters); // Note that $action and $object may have been modified by hook
|
||||
$sql .= $hookmanager->resPrint;
|
||||
|
||||
|
|
@ -3122,7 +3124,10 @@ class Form
|
|||
}
|
||||
|
||||
// Add where from hooks
|
||||
$parameters = array('filterkey' => &$filterkey);
|
||||
$parameters = array(
|
||||
'filterkey' => &$filterkey,
|
||||
'socid' => $socid,
|
||||
);
|
||||
$reshook = $hookmanager->executeHooks('selectProductsListWhere', $parameters); // Note that $action and $object may have been modified by hook
|
||||
$sql .= $hookmanager->resPrint;
|
||||
// Add criteria on ref/label
|
||||
|
|
|
|||
Loading…
Reference in a new issue