Owner First and Last name in CustomerTicketZoom.dtl

Hi. How is possible add owner firstname and lastname into CustomerTicketZoom.dtl? I tried edit CustomerTicketZoom.pm, but without success. Thanks. Jan

Hi Jan,
You are probably asking this because if you enable 'owner' you'd only see
the owner *login* name as opposed to the firstname / lastname which makes
it not very usable right?
[image: Inline image 1]
whereas for the same ticket in the overview, if you enable it, you DO see
firstname and lastname:
[image: Inline image 2]
This is a bug; and to answer your question, you'd first need to look up the
user first and last name before you can use it in the DTL template.
On Sat, Apr 20, 2013 at 5:44 PM, Jan Řežab
Hi.
How is possible add owner firstname and lastname into CustomerTicketZoom.dtl? I tried edit CustomerTicketZoom.pm, but without success.
Thanks.
Jan
_______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

Hi,
I fixed it here; please check the code if you want to see how:
https://github.com/OTRS/otrs/commit/0c394c6892152defb7def8d84e06b696c5ed18b9
On Mon, Apr 22, 2013 at 8:08 AM, Michiel Beijen
Hi Jan,
You are probably asking this because if you enable 'owner' you'd only see the owner *login* name as opposed to the firstname / lastname which makes it not very usable right?
[image: Inline image 1] whereas for the same ticket in the overview, if you enable it, you DO see firstname and lastname: [image: Inline image 2] This is a bug; and to answer your question, you'd first need to look up the user first and last name before you can use it in the DTL template.
On Sat, Apr 20, 2013 at 5:44 PM, Jan Řežab
wrote: Hi.
How is possible add owner firstname and lastname into CustomerTicketZoom.dtl? I tried edit CustomerTicketZoom.pm, but without success.
Thanks.
Jan
_______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
participants (2)
-
Jan Řežab
-
Michiel Beijen