mirror of
https://github.com/itflow-org/itflow
synced 2026-12-03 09:39:02 +00:00
Contact alternate email (DB 4.4.1): one more address per contact in the contact window under Email, shown on their page, quick look and the Reach column, searched by the contacts, clients, tickets and global searches, exported and imported as Alternate Email and in the API as contact_email_alt, and recognized on incoming email as theirs - a new ticket as them at their client even with unknown senders off, and their reply by ticket number, conversation or subject - with the ticket's from line showing the address it came from while everything ITFlow sends still goes to their Email and neither address is copied in; the duplicate warning, Try an Email, Unprocessed Email and the ignored sender and routing rule warnings count it too, and the same-as-Email warning shows while typing (contactEmailSql(), contactHasEmail(), contactEmailMatchSql()); 26.12.4 changelog
This commit is contained in:
@@ -193,7 +193,7 @@ function globalSearchGroups($terms, $deep) {
|
||||
'select' => 'contact_id, contact_name, contact_title, contact_email, contact_photo, contact_client_id, client_name',
|
||||
'from' => 'contacts LEFT JOIN clients ON contact_client_id = client_id',
|
||||
'where' => "contact_archived_at IS NULL
|
||||
AND (contact_name LIKE '%$like%' OR contact_email LIKE '%$like%' OR contact_title LIKE '%$like%' $contact_phone_match
|
||||
AND (contact_name LIKE '%$like%' OR contact_email LIKE '%$like%'" . contactEmailAltLikeSql($like) . " OR contact_title LIKE '%$like%' $contact_phone_match
|
||||
" . tagSearchSql('contact', $like, 'contacts.contact_id') . ")",
|
||||
'scope' => 'contact_client_id',
|
||||
'tags' => ['contact', 'contacts.contact_id'],
|
||||
|
||||
Reference in New Issue
Block a user