fix: query HD Ticket instead of Issue in support hour distribution
Restores the report query change from #3502 (reverted in #3512), matching the report's ref_doctype change to HD Ticket.
This commit is contained in:
@@ -61,7 +61,7 @@ def get_data(filters):
|
||||
def get_hours_count(start_time, end_time):
|
||||
data = (
|
||||
frappe.db.sql(
|
||||
""" select count(*) from `tabIssue` where creation
|
||||
""" select count(*) from `tabHD Ticket` where creation
|
||||
between %(start_time)s and %(end_time)s""",
|
||||
{"start_time": start_time, "end_time": end_time},
|
||||
as_list=1,
|
||||
|
||||
Reference in New Issue
Block a user