Merge remote-tracking branch 'origin/main'

This commit is contained in:
SDE
2023-09-03 14:32:49 +03:00
2 changed files with 3 additions and 3 deletions

View File

@@ -118,8 +118,8 @@ function forloop_func_form (data,get,str) {
}
}
if (!data["type_transport"]){
data["type_transport"] = ""
str = `${str}type_transport=""&`
data["type_transport"] =
str = `${str}type_transport=&`
}
if (get !== null){
let list = [data,str]

View File

@@ -97,7 +97,7 @@
<div class="cont-el-form-search-carrier el_form_find_route">
<label style="opacity: 0">test</label>
{% if show_filter_and_results %}
<button onclick="filters_func_find_route_main(this,{{ owner_type }})">Найти</button>
<button onclick="filters_func_find_route_main(this,'{{ owner_type }})">Найти</button>
{% else %}
<button onclick="filters_func_find_route_main(this,'{{ owner_type }}','{% url "route_search_results_View" %}')">Найти</button>
{% endif %}