Great, thanks!
But I'd like to to have it integrated automatically with every search, so I edited the /modules/Home/UnifiedSearchAdvanced.php:
In about line 134, right after Code:
if(!empty($_REQUEST['query_string'])) {
// MFH BUG 15404: Added support to trim off whitespace at the beginning and end of a search string
$_REQUEST['query_string'] = trim($_REQUEST['query_string']); I added this line:
Code:
$_REQUEST['query_string'] = "%".$_REQUEST['query_string']; // Better wildcard search
Now it works great if I use the global search box on the top right of every page. But if I use the search on the "Accounts" page, it isn't working. Where do I have to edit? I tried the /modules/Accounts/Account.php in about line 345, inside the "build_generic_where_clause" function, but it didn't work. Any suggestions?
regards,
mccon1
Bookmarks