From d33231136e0951402314ffa0bfa5352d58d2a73f Mon Sep 17 00:00:00 2001 From: kurogeek Date: Tue, 9 May 2023 07:00:06 +0000 Subject: [PATCH] fix: Ticket Activity doesn't exist. When clicking on `TICKET HISTORY` on a ticket page, there is an error saying, a table Ticket Activity doesn't exist. This PR fix this issue. By changing `tabTicket Activity` to `tabHD Ticket Activity`. --- helpdesk/api/ticket.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpdesk/api/ticket.py b/helpdesk/api/ticket.py index 8ad1d8f59..15bb3186b 100644 --- a/helpdesk/api/ticket.py +++ b/helpdesk/api/ticket.py @@ -496,7 +496,7 @@ def activities(name): activities = frappe.db.sql( """ SELECT action, creation, owner - FROM `tabTicket Activity` + FROM `tabHD Ticket Activity` WHERE ticket = %(ticket)s ORDER BY creation DESC """,