
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