X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/258e66299ac45c4dbb951dee0a92194301b31737..5178686e26404418c4dbde8a7e33cccbdd57c6fb:/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(),