Merge pull request #31269 from frappe/revert-29104-develop
Revert "fix: Improper routing for Report links when added to cards in workspaces"
This commit is contained in:
commit
ccd8fb1f8b
1 changed files with 2 additions and 1 deletions
|
|
@ -1304,7 +1304,8 @@ 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/";
|
||||
route =
|
||||
frappe.router.slug(item.report_ref_doctype) + "/view/report/" + item.name;
|
||||
} else {
|
||||
route = "report/" + item.name;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue