X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/258e66299ac45c4dbb951dee0a92194301b31737..a62141ce7f745fa67b5f04f216f5b47f78c10e78:/app/assets/javascripts/index/search.js diff --git a/app/assets/javascripts/index/search.js b/app/assets/javascripts/index/search.js index 2f92e6282..dc4df821e 100644 --- a/app/assets/javascripts/index/search.js +++ b/app/assets/javascripts/index/search.js @@ -24,6 +24,7 @@ function initializeSearch(map) { $("#sidebar_title").html(I18n.t('site.sidebar.search_results')); $("#sidebar_content").load($(this).attr("action"), { query: $("#query").val(), + zoom: map.getZoom(), minlon: bounds.getWest(), minlat: bounds.getSouth(), maxlon: bounds.getEast(),