fix: remove query params from existing URL

This commit is contained in:
Ankush Menat 2022-06-05 19:41:48 +05:30
parent 23bd9749f6
commit e0e0c6f219

View file

@ -1473,7 +1473,7 @@ frappe.views.ListView = class ListView extends frappe.views.BaseList {
})
.join("&");
let full_url = window.location.href;
let full_url = window.location.href.replace(window.location.search, "");
if (query_params) {
full_url += "?" + query_params;
}