Hi,
In my Global Search Settings, Iāve disable AOD as it never returns anything when searching. But thatās another topic - Iād love to find references about what it SHOULD find and how to configure it.
Using classic Sugar Global seach, it worked in 7.1.x like in SugarCRM, but now Global Search wonāt find anything in 7.2 and throws an SQL error in sugarcrm.log:
[i]Wed Mar 4 16:04:59 2015 [5655][e0c73158-1a04-7c79-cfce-51cc3a3e4eb6][FATAL] Query Failed: SELECT contacts.id , LTRIM(RTRIM(CONCAT(IFNULL(contacts.first_name,āā),ā ā,IFNULL(contacts.last_name,āā)))) as name, contacts.first_name , contacts.last_name , contacts.salutation , accounts.name account_name, jtl0.account_id account_id, contacts.department , contacts.primary_address_street , contacts.primary_address_postalcode , contacts.primary_address_city , contacts.primary_address_country , contacts.phone_work , contacts.date_modified , jt1.user_name modified_by_name , jt1.created_by modified_by_name_owner , āUsersā modified_by_name_mod, contacts.assigned_user_id FROM contacts LEFT JOIN contacts_cstm ON contacts.id = contacts_cstm.id_c LEFT JOIN accounts_contacts jtl0 ON contacts.id=jtl0.contact_id AND jtl0.deleted=0
LEFT JOIN accounts accounts ON accounts.id=jtl0.account_id AND accounts.deleted=0
AND accounts.deleted=0 LEFT JOIN users jt1 ON contacts.modified_user_id=jt1.id AND jt1.deleted=0
AND jt1.deleted=0 where (((contacts.first_name like āganten%ā ) OR ( contacts.last_name like āganten%ā ) OR ( ( contacts.phone_mobile like āganten%ā OR contacts.phone_work like āganten%ā OR contacts.phone_other like āganten%ā OR contacts.phone_fax like āganten%ā OR contacts.assistant_phone like āganten%ā ) ) OR ( contacts.assistant like āganten%ā ) OR ( email IN (select bean_id from (SELECT eabr.bean_id FROM email_addr_bean_rel eabr JOIN email_addresses ea ON (ea.id = eabr.email_address_id) WHERE eabr.deleted=0 AND ea.email_address LIKE āganten%ā) email_derived) ) OR ( accounts.name like āganten%ā ) OR ( ( contacts.first_name like āganten%ā OR contacts.last_name like āganten%ā )))) AND contacts.deleted=0 ORDER BY contacts.date_entered DESC LIMIT 0,11: MySQL error 1054: Unknown column āemailā in āIN/ALL/ANY subqueryā[/i]
Any idea what may cause this?
Iāve only upgraded a test site and will wait until this is resolvedā¦
Happy to help if I can!
Cheers,
Ralf.