Fixed gantt chart query for Task

This commit is contained in:
Anand Doshi 2014-06-24 18:53:17 +05:30
parent faefeaa644
commit 4864c9e96a

View File

@ -52,7 +52,7 @@ def get_events(start, end, filters=None):
frappe.msgprint(_("No Permission"), raise_exception=1)
conditions = build_match_conditions("Task")
conditions and (" and " + conditions) or ""
conditions = conditions and (" and " + conditions) or ""
if filters:
filters = json.loads(filters)