Merge pull request #24549 from cogk/url_encode
fix(search): Fix URL encoding for search result
This commit is contained in:
commit
4b87bf6ec4
1 changed files with 1 additions and 1 deletions
|
|
@ -317,7 +317,7 @@ frappe.search.SearchDialog = class {
|
|||
get_link(result) {
|
||||
let link = "";
|
||||
if (result.route) {
|
||||
link = `href="/app/${result.route.join("/")}"`;
|
||||
link = `href="${frappe.router.make_url(result.route)}"`;
|
||||
} else if (result.data_path) {
|
||||
link = `data-path=${result.data_path}"`;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue