[Legacy] Remove source from query

This commit is contained in:
Jack Anderson 2025-01-24 15:16:19 +00:00
parent 16dc7b9d1c
commit 734dc100d9

View file

@ -3249,7 +3249,7 @@ function get_emails_by_assign_or_link($params)
if ($bean->object_name == 'Case' && !empty($bean->case_number)) {
$where = str_replace('%1', $bean->case_number, (string) $bean->getEmailSubjectMacro());
$return_array['where'] .= "\n AND (email_ids.source = 'direct' OR emails.name LIKE '%$where%')";
$return_array['where'] .= "\n AND (emails.name LIKE '%$where%')";
}
return $return_array;