Merge pull request #29109 from terhoy/patch-3

FIX issue #29101 in mails_templates.php
This commit is contained in:
Laurent Destailleur 2024-03-29 11:44:16 +01:00 committed by GitHub
commit b23472cbcf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1041,7 +1041,7 @@ foreach ($fieldlist as $field => $value) {
}
$sortfieldtouse = ($sortable ? $fieldlist[$field] : '');
if ($sortfieldtouse == 'type_template') {
$sortfieldtouse .= 'type_template,lang,position,label';
$sortfieldtouse .= ',lang,position,label';
}
print getTitleFieldOfList($valuetoshow, 0, $_SERVER["PHP_SELF"], $sortfieldtouse, ($page ? 'page='.$page.'&' : ''), $param, '', $sortfield, $sortorder, $css.' ');
}