|
|
@@ -1456,7 +1456,11 @@ frappe.views.ListView = class ListView extends frappe.views.BaseList { |
|
|
|
on_update() {} |
|
|
|
|
|
|
|
update_url_with_filters() { |
|
|
|
window.history.replaceState(null, null, this.get_url_with_filters()); |
|
|
|
if (frappe.get_route_str() == this.page_name && !this.report_name) { |
|
|
|
// only update URL if the route still matches current page. |
|
|
|
// do not update if current list is a "saved report". |
|
|
|
window.history.replaceState(null, null, this.get_url_with_filters()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
get_url_with_filters() { |
|
|
|