Skip to content

Commit

Permalink
fix: correct doctype names and label name
Browse files Browse the repository at this point in the history
sumitbhanushali committed Feb 23, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent ac74034 commit 305b374
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions helpdesk/helpdesk/report/ticket_summary/ticket_summary.js
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ frappe.query_reports["Ticket Summary"] = {
fieldtype: "Select",
options: [
"Contact",
"HD Ticket Type",
"Ticket Type",
"Ticket Priority",
"Assigned To",
],
@@ -47,7 +47,7 @@ frappe.query_reports["Ticket Summary"] = {
fieldname: "priority",
label: __("Ticket Priority"),
fieldtype: "Link",
options: "Ticket Priority",
options: "HD Ticket Priority",
},
{
fieldname: "contact",
6 changes: 3 additions & 3 deletions helpdesk/helpdesk/report/ticket_summary/ticket_summary.py
Original file line number Diff line number Diff line change
@@ -52,13 +52,13 @@ def get_columns(self):
}
)

elif self.filters.based_on == "HD Ticket Type":
elif self.filters.based_on == "Ticket Type":
self.columns.append(
{
"label": _("Ticket Type"),
"fieldname": "ticket_type",
"fieldtype": "Link",
"options": "Ticket Type",
"options": "HD Ticket Type",
"width": 200,
}
)
@@ -69,7 +69,7 @@ def get_columns(self):
"label": _("Ticket Priority"),
"fieldname": "priority",
"fieldtype": "Link",
"options": "Ticket Priority",
"options": "HD Ticket Priority",
"width": 200,
}
)

0 comments on commit 305b374

Please sign in to comment.