how to customize global search?

Discuss about Group-Office development here

Moderator: Developers

badpenguin
Posts: 12
Joined: Wed Nov 04, 2009 1:55 pm

how to customize global search?

Postby badpenguin » Wed Nov 04, 2009 2:24 pm

I need to search using a partial match of phone numbers, for instance area code or part of a wrong number.
Wich file i need to modify?
mschering
Site Admin
Site Admin
Posts: 8154
Joined: Tue Apr 20, 2004 1:06 pm
Location: The Netherlands - Den Bosch
Contact:

Re: how to customize global search?

Postby mschering » Wed Nov 04, 2009 7:48 pm

It should already search for partial numbers. The search is performed in classes/base/search.class.inc.php and each module has a cache_* function that puts it's items in the global search cache table.
Best regards,

Merijn Schering
Intermesh
vastonsmith
Posts: 1
Joined: Wed May 06, 2015 7:05 am

Re: how to customize global search?

Postby vastonsmith » Wed May 06, 2015 7:06 am

The script you've just modified is only used when debugging, and as a form of "human-readable" script. You need to "minify" the script to see the change (or toogle GO to debug mode - see config.php).
ahsan

Return to “Development Chats”

Who is online

Users browsing this forum: No registered users and 1 guest

cron