From 1a565ef80ecda4eee3d36bfc68fe1df6f2e70e04 Mon Sep 17 00:00:00 2001 From: David Martinez <47610359+dvdmrtnz@users.noreply.github.com> Date: Sat, 13 Jan 2024 15:28:06 +0100 Subject: [PATCH] [search] Add kToiletsSymbol to search results Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com> --- search/intermediate_result.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/search/intermediate_result.cpp b/search/intermediate_result.cpp index c02bae9b80..d7463f9122 100644 --- a/search/intermediate_result.cpp +++ b/search/intermediate_result.cpp @@ -314,6 +314,8 @@ void FillDetails(FeatureType & ft, Result::Details & details) description.append(osm::MapObject::kFieldsSeparator).append(brand); if (!cuisine.empty()) description.append(osm::MapObject::kFieldsSeparator).append(cuisine); + if (feature::HasToilets(typesHolder)) + description.append(osm::MapObject::kFieldsSeparator).append(osm::MapObject::kToiletsSymbol); if (!fee.empty()) description.append(osm::MapObject::kFieldsSeparator).append(fee);