From cb5ab935eed0e1b05295c05f86653d1a87049a80 Mon Sep 17 00:00:00 2001 From: borissedw Date: Thu, 2 Nov 2023 13:44:13 +0300 Subject: [PATCH] 0.0.310 --- static/js/filters_functions_find_route.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/static/js/filters_functions_find_route.js b/static/js/filters_functions_find_route.js index b796d28..18d8683 100644 --- a/static/js/filters_functions_find_route.js +++ b/static/js/filters_functions_find_route.js @@ -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) data_d = list[0] get_url = list[1] - if (owner_type !== null) { - data_d['owner_type'] = owner_type - } - get_url = get_url + `owner_type=${owner_type}` + // if (owner_type !== null) { + // data_d['owner_type'] = owner_type + // } + // get_url = get_url + `owner_type=${owner_type}` window.location.href = `${win_loc_replace}?${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) data_d = list[0] get_url = list[1] - if (owner_type !== null) { - data_d['owner_type'] = owner_type - get_url = get_url + `owner_type=${owner_type}` - } + // if (owner_type !== null) { + // data_d['owner_type'] = owner_type + // get_url = get_url + `owner_type=${owner_type}` + // } if (weight){