Lastname Firstname (Username)

Moderator: crythias

Locked
rdquiterio
Znuny newbie
Posts: 17
Joined: 09 Jul 2012, 12:16
Znuny Version: 3.1.7
Real Name: Rafael Quitério
Company: CENFIM

Lastname Firstname (Username)

Post by rdquiterio »

Hi;

in the agent interface, when I try to select an Owner or Responsible in the Move Queue Screen, for example, the dropdown box shows users like "Lastname Firstname (Username)", even when my prefered language is PT.

Is there some way of changing this to "Firstname Lastname (Username)" for example.

Thanks.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Lastname Firstname (Username)

Post by crythias »

check out Kernel/Modules/AgentTicketMove.pm

Find things like

Code: Select all

            $UserHash{ $User->{UserID} } = "$Counter: $User->{UserLastname} "
                . "$User->{UserFirstname} ($User->{UserLogin})";
Also Kernel/Modules/AgentTicketActionCommon.pm

Code: Select all

AgentTicketActionCommon.pm:                $UserHash{ $User->{UserID} } = "$Counter: $User->{UserLastname} "
AgentTicketActionCommon.pm:                    = "$Counter: $User->{UserLastnam } $User->{UserFirstname} ($User->{UserLogin})";
AgentTicketActionCommon.pm:                = "$Counter: $User->{UserLastname} $User->{UserFirstname} ($User->{UserLogin})";
Now, whether that breaks sort or something is a different issue, but ...
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
rdquiterio
Znuny newbie
Posts: 17
Joined: 09 Jul 2012, 12:16
Znuny Version: 3.1.7
Real Name: Rafael Quitério
Company: CENFIM

Re: Lastname Firstname (Username)

Post by rdquiterio »

I did what you told but it didn't change the display order of names in the combobox.

Thanks for the hint, anyway.
Locked