From d57a4b3ac9de33e68930f0b7e7e97b78774dc2ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Desboeufs?= Date: Thu, 13 Sep 2018 17:29:10 +0200 Subject: [PATCH] =?UTF-8?q?Add=20boost=20option=20to=20API=20G=C3=A9o=20ca?= =?UTF-8?q?lls?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/components/conversation/select/SelectGéo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/components/conversation/select/SelectGéo.js b/source/components/conversation/select/SelectGéo.js index 3fc806799..646f0b16d 100644 --- a/source/components/conversation/select/SelectGéo.js +++ b/source/components/conversation/select/SelectGéo.js @@ -9,7 +9,7 @@ let getOptions = input => input.length < 3 ? Promise.resolve({ options: [] }) : fetch( - `https://geo.api.gouv.fr/communes?nom=${input}&fields=nom,code,departement,region&` + `https://geo.api.gouv.fr/communes?nom=${input}&fields=nom,code,departement,region&boost=population` ) .then(response => { if (!response.ok)