Merge pull request #4542 from osmandapp/search_bug

Fix #4538
This commit is contained in:
Alexey 2017-10-09 10:56:25 +03:00 committed by GitHub
commit a970e083f4

View file

@ -540,6 +540,10 @@ public class SearchUICore {
} }
} }
} }
if (Algorithms.isEmpty(object.localeName) && object.alternateName != null) {
object.localeName = object.alternateName;
object.alternateName = null;
}
if (matcher == null || matcher.publish(object)) { if (matcher == null || matcher.publish(object)) {
count++; count++;
object.parentSearchResult = parentSearchResult; object.parentSearchResult = parentSearchResult;