X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/365e7f1e9b9aaf36769990654def404ce8fa5cff..24da90317a8ef77e6eded05331c3a555da8ae199:/src/pages/SearchPage.svelte?ds=sidebyside diff --git a/src/pages/SearchPage.svelte b/src/pages/SearchPage.svelte index 134ea8a..e80729f 100644 --- a/src/pages/SearchPage.svelte +++ b/src/pages/SearchPage.svelte @@ -25,7 +25,7 @@ polygon_geojson: Nominatim_Config.Search_AreaPolygons ? 1 : 0, viewbox: search_params.get('viewbox'), bounded: search_params.get('bounded'), - dedupe: search_params.get('dedupe'), + dedupe: (!search_params.has('dedupe') || search_params.get('dedupe') === '1') ? 1 : 0, 'accept-language': search_params.get('accept-language'), countrycodes: search_params.get('countrycodes'), limit: search_params.get('limit'),