Merge pull request #23033 from atm-steve/fix_lists_missing_alias

FIX Alias on commande list
This commit is contained in:
Laurent Destailleur 2022-11-29 10:37:18 +01:00 committed by GitHub
commit 33afe96762
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1946,7 +1946,7 @@ if ($resql) {
$companystatic->town = $obj->town;
$companystatic->country_code = $obj->country_code;
if (!isset($getNomUrl_cache[$obj->socid])) {
$getNomUrl_cache[$obj->socid] = $companystatic->getNomUrl(1, 'customer');
$getNomUrl_cache[$obj->socid] = $companystatic->getNomUrl(1, 'customer', 100, 0, 1, empty($arrayfields['s.name_alias']['checked']) ? 0 : 1);
}
$generic_commande->id = $obj->rowid;