fix: routing for non-query reports (#36646)
This commit is contained in:
parent
03fe39e812
commit
a77799b538
1 changed files with 1 additions and 2 deletions
|
|
@ -1564,8 +1564,7 @@ Object.assign(frappe.utils, {
|
|||
if (item.is_query_report) {
|
||||
route = "query-report/" + item.name;
|
||||
} else if (!item.is_query_report && item.report_ref_doctype) {
|
||||
route =
|
||||
frappe.router.slug(item.report_ref_doctype) + "/view/report/" + item.name;
|
||||
route = frappe.router.slug(item.report_ref_doctype) + "/view/report/";
|
||||
} else {
|
||||
route = "report/" + item.name;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue