X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/365e7f1e9b9aaf36769990654def404ce8fa5cff..7b4e51e7de73bdc35a101a181e28e4cb98c5f4fe:/src/pages/SearchPage.svelte

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'),
