[Solved] Searching Customers by First and Last Name

Moderator: crythias

Locked
adupre01
Znuny newbie
Posts: 73
Joined: 09 Jun 2011, 18:22
Znuny Version: 3.0
Real Name: Andre
Company: Hamline University

[Solved] Searching Customers by First and Last Name

Post by adupre01 »

When creating a ticket it is really great to be able to start typing in a user's name and have OTRS pull up a list of the possible customers. However, we have a lot of customers and so with common names there are often too many possible results to be displayed.

We are pulling our customers from LDAP and unfortunately the way it is setup is that there is only first and last name fields and some people have their middle initial in the first name field as well. So instead of givenname = Jane, it may be givenname = Jane S. It would be nice to be able to just type "Jane Doe" and not have OTRS worry about the "S" that may be in the middle.

My current customer search is

Code: Select all

CustomerUserSearchFields => ['givenname','sn','cn', 'mail'],
What I'm wondering is if it is possible to use a wild card or something? I'm not much of a programmer so I don't know if this is possible. Could something like 'givenname*sn' be used to get around it?
Last edited by adupre01 on 19 Dec 2011, 19:02, edited 1 time in total.
OTRS 3.1.3 + ITSM 3.1.1 + FAQ 2.1.2 + Survey 2.1.3, Redhat
adupre01
Znuny newbie
Posts: 73
Joined: 09 Jun 2011, 18:22
Znuny Version: 3.0
Real Name: Andre
Company: Hamline University

Re: Searching Customers by First and Last Name

Post by adupre01 »

OTRS already searches by givenname* or cn* the problem is on our end. In our LDAP firstname contains "Firstname+Middle Initial" and there doesn't seem to be an easy way to have OTRS search by "givenname* and sn*"
OTRS 3.1.3 + ITSM 3.1.1 + FAQ 2.1.2 + Survey 2.1.3, Redhat
Locked