X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/d7a925a6567cd14b85e124354cabf62733e93f35..438f28dde974881d2628fcf9a9cc1a811e90ebe1:/src/components/SearchSection.svelte diff --git a/src/components/SearchSection.svelte b/src/components/SearchSection.svelte index 207af21..e50bbdf 100644 --- a/src/components/SearchSection.svelte +++ b/src/components/SearchSection.svelte @@ -69,7 +69,7 @@ } function set_dedupe(e) { - document.querySelector('input[name=dedupe]').value = e.target.checked ? 1 : ''; + document.querySelector('input[name=dedupe]').value = e.target.checked ? 1 : 0; } function set_api_param(e) { @@ -79,62 +79,81 @@