Yes indeed this is a possible solution. However, I want to search on the telephone number only and limited to the duration of the call.
On Sat, 2010-07-24 at 09:22 +0200, Torsten Thau wrote: > Hi there, > > Am 23.07.2010 14:38, schrieb Kiffin Gish: > > 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. > > ...just add the telephone-number attribute to the customer backends > search fields - e.g.: > > CustomerUserSearchFields => [ 'login', 'first_name', 'last_name', > 'customer_id', 'telephonenumber' ], > > ...et voila - you're now able to search the customer by it's telephone > number :-). > > > regards, Torsten Thau > > --------------------------------------------------------------------- > 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/ -- 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/
