Improved search for OSM Live

This commit is contained in:
PaulStets 2017-09-10 17:48:35 +03:00
parent b730a4bee3
commit 7790c3d6ea

View file

@ -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);