Search customers with a given telephone number ...

Kiffin Gish <[email protected]>
Newsgroups gmane.comp.otrs.devel
Message-ID <1279888693.2107.71.camel@laptop>
I need to search the customer database table based on a given telephone
number.

However, I notice that the Kernel::System::CustomerUser object method
CustomerSearch() only supports one of the following search
possibilities:

    Search, UserLogin and PostMasterSearch

Is there any easier way to accomplish this rather than having to make
lower level DBObject calls to search the 'customer_user' table based on
the 'phone' value, e.g.

$DBObject->Do( SQL => "SELECT * FROM customer_user WHERE phone =
'012345678'" );

I see that there is a non-trivial way to configure searches in general
to include more fields, but this is more complicated and will make the
changes globally, whereas I want to limit this search to a specific
situation.

Thanks in advance for the extra help.

Regards,
Kiffin

-- 
Kiffin Gish <[email protected]>
Gouda, The Netherlands


---------------------------------------------------------------------
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

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.