Merge remote-tracking branch 'origin/main'

This commit is contained in:
2023-11-02 15:35:12 +03:00

View File

@@ -11,10 +11,10 @@ function filters_func_find_route_main (el,owner_type=null,win_loc_replace=null,w
let list = forloop_func_form(data_d,"get",get_url) let list = forloop_func_form(data_d,"get",get_url)
data_d = list[0] data_d = list[0]
get_url = list[1] get_url = list[1]
if (owner_type !== null) { // if (owner_type !== null) {
data_d['owner_type'] = owner_type // data_d['owner_type'] = owner_type
} // }
get_url = get_url + `owner_type=${owner_type}` // get_url = get_url + `owner_type=${owner_type}`
window.location.href = `${win_loc_replace}?${get_url}` window.location.href = `${win_loc_replace}?${get_url}`
// history.pushState({'data':data_d,'str_data':get_url}, "state_filters", `?${get_url}`); // history.pushState({'data':data_d,'str_data':get_url}, "state_filters", `?${get_url}`);
@@ -31,10 +31,10 @@ function filters_func_find_route_main (el,owner_type=null,win_loc_replace=null,w
let list = forloop_func_form(data_d,"get",get_url) let list = forloop_func_form(data_d,"get",get_url)
data_d = list[0] data_d = list[0]
get_url = list[1] get_url = list[1]
if (owner_type !== null) { // if (owner_type !== null) {
data_d['owner_type'] = owner_type // data_d['owner_type'] = owner_type
get_url = get_url + `owner_type=${owner_type}` // get_url = get_url + `owner_type=${owner_type}`
} // }
if (weight){ if (weight){