Skip to content
Snippets Groups Projects
Commit 31451f75 authored by Robert Latta's avatar Robert Latta
Browse files

excluded contacts without mail value. RE. DBOARD3-596

parent 9d9dbbfc
No related branches found
No related tags found
No related merge requests found
......@@ -111,13 +111,13 @@ def get_customer_service_emails(ds: IMS):
customer_contacts = defaultdict(set)
for x in ds.get_filtered_entities(
'customerrelatedcontact',
"contact.plannedworkmail != ''",
"contact.plannedworkmail != '' | contact.mail != ''",
CUSTOMER_RELATED_CONTACT_PROPERTIES['Contact']
):
customer_contacts[x['customerid']].add(x['contact']['mail'])
for x in ds.get_filtered_entities(
'customerrelatedcontact',
"contact.troubleticketMail != ''",
"contact.troubleticketMail != '' | contact.mail != ''",
CUSTOMER_RELATED_CONTACT_PROPERTIES['Contact']
):
customer_contacts[x['customerid']].add(x['contact']['mail'])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment