FIX: filter by entity on contact is missing
This commit is contained in:
parent
d04cfa89ce
commit
26bb72d12f
1 changed files with 1 additions and 0 deletions
|
|
@ -71,6 +71,7 @@ function societe_prepare_head(Societe $object)
|
|||
$reshook = $hookmanager->executeHooks('printFieldListFrom', $parameters, $object); // Note that $action and $object may have been modified by hook
|
||||
$sql .= $hookmanager->resPrint;
|
||||
$sql .= " WHERE p.fk_soc = ".((int) $object->id);
|
||||
$sql .= " AND entity IN (".getEntity($object->element).")";
|
||||
// Add where from hooks
|
||||
$parameters = array('contacttab' => true);
|
||||
$reshook = $hookmanager->executeHooks('printFieldListWhere', $parameters, $object); // Note that $action and $object may have been modified by hook
|
||||
|
|
|
|||
Loading…
Reference in a new issue