X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/e0d087f4a2b5fbc758de432f8932de296279a82f..ee9ae6193aefe2a28522a71406cbb92614844f1e:/src/assets/js/searchpage.js diff --git a/src/assets/js/searchpage.js b/src/assets/js/searchpage.js index be9c20a..f53dfd4 100755 --- a/src/assets/js/searchpage.js +++ b/src/assets/js/searchpage.js @@ -411,7 +411,7 @@ function search_page_load() { if (aResults.length >= 10) { var aExcludePlaceIds = []; if (search_params.has('exclude_place_ids')) { - aExcludePlaceIds.search_params.get('exclude_place_ids').split(','); + aExcludePlaceIds = search_params.get('exclude_place_ids').split(','); } for (var i = 0; i < aResults.length; i += 1) { aExcludePlaceIds.push(aResults[i].place_id);