fix query
This commit is contained in:
@@ -35,7 +35,8 @@ class Contact extends \Espo\Core\ORM\Repositories\RDB
|
||||
}
|
||||
|
||||
$params['customJoin'] .= "
|
||||
LEFT JOIN `account_contact` AS accountContact ON accountContact.contact_id = contact.id AND accountContact.account_id = contact.account_id
|
||||
LEFT JOIN `account_contact` AS accountContact
|
||||
ON accountContact.contact_id = contact.id AND accountContact.account_id = contact.account_id AND accountContact.deleted = 0
|
||||
";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user