Skip to content

Commit

Permalink
fix(ll:Controls): fix recherche avancée param query mal testé
Browse files Browse the repository at this point in the history
  • Loading branch information
elias75015 committed May 16, 2024
1 parent 9f81ffe commit f8a14ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion DRAFT_CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@

- widget itineraire utilise ressource bdtopo-valhalla dans le cas d'un itinéraire pieton en mode fastest (92439bc421cc5f6ee1f10e069f2aa468e2b971b6)
- Correction du logger par définiton de la variable process (e0e3b9b5ad3e1f8c92086891564f04f792e24280)

- recherche avancée : correction du test sur le param query

* [Security]

---
Expand Down
2 changes: 1 addition & 1 deletion src/Leaflet/Controls/SearchEngine.js
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ var SearchEngine = L.Control.extend(/** @lends L.geoportalControl.SearchEngine.p
}

// on ne fait pas de requête si la parametre 'text' est vide !
if (!settings.query) {
if (settings.query === null) {
return;
}

Expand Down

0 comments on commit f8a14ce

Please sign in to comment.