fix: filters in share url not working
This commit is contained in:
parent
20eed12a9e
commit
a6fce22c63
1 changed files with 2 additions and 0 deletions
|
|
@ -386,6 +386,8 @@ frappe.router = {
|
|||
set_route_options_from_url(route) {
|
||||
// set query parameters as frappe.route_options
|
||||
var last_part = route[route.length - 1];
|
||||
// add routing v2 compatability
|
||||
if (!last_part.includes("?")) last_part = route[route.length - 1] + window.location.search
|
||||
if (last_part.indexOf("?") < last_part.indexOf("=")) {
|
||||
// has ? followed by =
|
||||
let parts = last_part.split("?");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue