s);
            showResults('results', result.results);
            showSort('sortSelect', result.filters.data, result.titles);
            hideLoader('contentLoader');
        });
        document.getElementById('price_from').value ="";
        document.getElementById('price_to').value = "";
    }

    document.addEventListener('DOMContentLoaded', function () {
        loadFilters();
       
    });
    document.getElementById('resetFiltersButton').onclick = loadFilters;
    document.getElementById('sortSe