From af46d5c845e2965847080712ae9369795741b681 Mon Sep 17 00:00:00 2001 From: Kenneth Sequeira Date: Tue, 9 Apr 2019 13:28:59 +0530 Subject: [PATCH] =?UTF-8?q?add=20salutation=20to=20contact=20display=20?= =?UTF-8?q?=F0=9F=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frappe/contacts/doctype/contact/contact.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/contacts/doctype/contact/contact.py b/frappe/contacts/doctype/contact/contact.py index bce248679c..e1117be4d7 100644 --- a/frappe/contacts/doctype/contact/contact.py +++ b/frappe/contacts/doctype/contact/contact.py @@ -102,7 +102,7 @@ def get_contact_details(contact): out = { "contact_person": contact.get("name"), "contact_display": " ".join(filter(None, - [contact.get("first_name"), contact.get("last_name")])), + [contact.get("salutation"), contact.get("first_name"), contact.get("last_name")])), "contact_email": contact.get("email_id"), "contact_mobile": contact.get("mobile_no"), "contact_phone": contact.get("phone"),