Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit b78b357

Browse files
lgallgal
authored andcommitted
SORMAS-Foundation#3139 add street when searching for lat/lon of address
1 parent c7fe80a commit b78b357

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sormas-backend/src/main/java/de/symeda/sormas/backend/geocoding/GeocodingFacadeEjb.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public GeoLatLon getLatLon(String street, String houseNumber, String postalCode,
7878
return null;
7979
}
8080

81-
String textValue = join(", ", houseNumber.replaceAll("\\s", " "), join(" ", postalCode, city));
81+
String textValue = join(", ", join(" ", street, houseNumber.replaceAll("\\s", " ")), join(" ", postalCode, city));
8282

8383
String query = textValue;
8484
// Stream.of(

0 commit comments

Comments
 (0)