How to change default From customer in New phone ticket

Moderator: crythias

Locked
katerina
Znuny newbie
Posts: 46
Joined: 19 Jul 2012, 13:01
Znuny Version: 3.1.7
Real Name: Katerina
Company: PNB

How to change default From customer in New phone ticket

Post by katerina »

I have otrs 3.1.12 synchronized with openLDAP.

If I create New phone ticket I can choose From customer from dropbox (for instance it is offered for me
kbubenickova Bubenickova (kbubenickova) - when I am writing kbu as first letters of my login)

The problem is, that if I press Create the system refuses to create the ticket because the field From customer is incorrect.
If I enter e-mail adress, the ticket is accepted.
Please can you tell me what to do? I want the system to offer me customer identification that is usable when I press Create.

It doesn't matter if it is e-mail or login (but I prefer login).
Thank you
otrs v.5 on linux CentOS 6.8 with MySQL Ver 14.14 Distrib 5.1.73, openLDAP
katerina
Znuny newbie
Posts: 46
Joined: 19 Jul 2012, 13:01
Znuny Version: 3.1.7
Real Name: Katerina
Company: PNB

Re: How to change default From customer in New phone ticket

Post by katerina »

Hi, I solved my problem.
In Kernel/config.pm I had

Code: Select all

CustomerUserListFields => ['cn', 'sn'],
CustomerUserSearchFields => [ 'cn', 'sn'],
I changed it to

Code: Select all

CustomerUserListFields => ['cn', 'sn','mail'],
CustomerUserSearchFields => [ 'cn', 'sn','mail'],
Now all is working excelent
otrs v.5 on linux CentOS 6.8 with MySQL Ver 14.14 Distrib 5.1.73, openLDAP
Locked