You are not logged in.
Pages: 1
I’m working with the variable ##ticket.assigntousers##, and I’ve noticed that when a ticket is reassigned to a new technician, both technicians are displayed, separated by a comma.
I’d like to modify this behavior so that if both names are already displayed, I can manually adjust or add the comma if needed.
Where exactly can I find this in the code? In which file is this logic defined?
Thanks in advance for any help!
Offline
It also deals with notification templates
Offline
The comma is hard-coded in the GLPI code in "src/NotificationTargetCommonITILObject.php". Perhaps in the future when the notification template system is changed this could be configurable.
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline
THX ...
Line 1257: $data["##$objettype.assigntousers##"] = implode(', ', $users); to $data["##$objettype.assigntousers##"] = implode(' an ', $users);
Offline
Pages: 1