From 7790c3d6ea575b96f028b221b2dd51a2287a10e4 Mon Sep 17 00:00:00 2001 From: PaulStets Date: Sun, 10 Sep 2017 17:48:35 +0300 Subject: [PATCH] Improved search for OSM Live --- OsmAnd-java/src/net/osmand/search/core/SearchCoreFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd-java/src/net/osmand/search/core/SearchCoreFactory.java b/OsmAnd-java/src/net/osmand/search/core/SearchCoreFactory.java index 7dbea608fe..99dce47d5b 100644 --- a/OsmAnd-java/src/net/osmand/search/core/SearchCoreFactory.java +++ b/OsmAnd-java/src/net/osmand/search/core/SearchCoreFactory.java @@ -502,7 +502,7 @@ public class SearchCoreFactory { return false; } if (ids.contains(object.getId())) { - object.setName(object.getName() + " (closed)"); + object.setIsClosed(true); } SearchResult sr = new SearchResult(phrase); sr.otherNames = object.getAllNames(true);