
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 -- Torsten Thau, Dipl. Inform. c.a.p.e. IT Labs GbR - Annaberger Str. 240 - D-09125 Chemnitz phone: +49 371 5347 623 cell: +49 176 66 680 680 personal pgp-key: 0x93E0A174 fax: +49 371 5347 625 http://www.cape-it.de