Change order agent surname and name

Moderator: crythias

Post Reply
IXLabs
Znuny newbie
Posts: 43
Joined: 26 Mar 2013, 16:32
Znuny Version: 3.2.2
Real Name: Nicolas Unterberger
Company: IXLabs

Change order agent surname and name

Post by IXLabs »

Hi Folks.

I took a look to the dtl file and dont seems its possible but i want to ask.
When you create a new ticket, the agent name format its name, surname: doe, john.
Its any possibility to to john, doe. In all other places are in this order, but i dont know why in the agent name its in this order.

Thanks
IXLabs
Znuny newbie
Posts: 43
Joined: 26 Mar 2013, 16:32
Znuny Version: 3.2.2
Real Name: Nicolas Unterberger
Company: IXLabs

Re: Change order agent surname and name

Post by IXLabs »

no one has an idea?
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Change order agent surname and name

Post by crythias »

Might be in Kernel/Modules/AgentTicketCommon.pm

Code: Select all

        my %UserHash;
        if (@OldUserInfo) {
            my $Counter = 1;
            for my $User ( reverse @OldUserInfo ) {
                next if $UserHash{ $User->{UserID} };
                $UserHash{ $User->{UserID} } = "$Counter: $User->{UserLastname} "
                    . "$User->{UserFirstname} ($User->{UserLogin})";
                $Counter++;
            }
        }
and

Code: Select all

                $UserHash{ $User->{UserID} }
                    = "$Counter: $User->{UserLastname} $User->{UserFirstname} ($User->{UserLogin})";
            }
(twice)
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Post Reply