From 65eebec53ff749185dd0322350b92d479e822828 Mon Sep 17 00:00:00 2001 From: Maurice Date: Sun, 6 Sep 2026 23:35:06 +0200 Subject: [PATCH] fix(mobile): hint the suggestion fallback the same way the search is hinted When details fails to resolve a picked suggestion the sheet falls back to a text search (#1192). That call was the one search left in the sheet without a location hint, so the fallback could land on an identically named place in another country - exactly what the hint exists to prevent, on the path taken when the first hop already failed. --- client/src/mobile/screens/trip/sheets/PlPlaceSearch.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/mobile/screens/trip/sheets/PlPlaceSearch.tsx b/client/src/mobile/screens/trip/sheets/PlPlaceSearch.tsx index af52465d9..e6ead9394 100644 --- a/client/src/mobile/screens/trip/sheets/PlPlaceSearch.tsx +++ b/client/src/mobile/screens/trip/sheets/PlPlaceSearch.tsx @@ -213,7 +213,7 @@ export default function PlPlaceSearch({ planner, locationBias, onPick, onResolvi } if (!place) { const fullQuery = [suggestion.mainText, suggestion.secondaryText].filter(Boolean).join(', ') - const search = await mapsApi.search(fullQuery, language) + const search = await mapsApi.search(fullQuery, language, pointFromBox(locationBias)) place = (search.places?.[0] as MapsPlace | undefined) ?? null } if (place) {