From 24447791b8da1b5df6a7e1202987a69bbb2f4cba Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Sat, 24 Nov 2012 15:40:52 +0530 Subject: [PATCH] support ticket response deprecated, moved to communication --- support/doctype/support_ticket/support_ticket.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/doctype/support_ticket/support_ticket.py b/support/doctype/support_ticket/support_ticket.py index b2cc5a36d7..f48ba9fd83 100644 --- a/support/doctype/support_ticket/support_ticket.py +++ b/support/doctype/support_ticket/support_ticket.py @@ -64,7 +64,7 @@ class DocType(TransactionBase): def last_response(self): """return last response""" - tmp = webnotes.conn.sql("""select mail from `tabCommunication` + tmp = webnotes.conn.sql("""select content from `tabCommunication` where support_ticket = %s order by creation desc limit 1 """, self.doc.name)