From 87987a0ddeba4c56e41addf7592c505e4ede2f09 Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Fri, 23 Aug 2019 13:41:06 +0530 Subject: [PATCH] fix: Use single quotes for Postgres Co-Authored-By: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com> --- frappe/desk/page/activity/activity.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frappe/desk/page/activity/activity.py b/frappe/desk/page/activity/activity.py index 52ad73f715..7de294d2f0 100644 --- a/frappe/desk/page/activity/activity.py +++ b/frappe/desk/page/activity/activity.py @@ -19,8 +19,8 @@ def get_feed(start, page_length): from `tabCommunication` where - communication_type = "Communication" - and communication_medium != "Email" + communication_type = 'Communication' + and communication_medium != 'Email' and {match_conditions_communication} UNION select name, owner, modified, creation, '0', 'Updated',