Sort postcode by name in search

This commit is contained in:
Victor Shcherb 2018-05-21 22:37:35 +02:00
parent 5cee74e003
commit e35557fa8f

View file

@ -406,6 +406,7 @@ public class SearchCoreFactory {
return false;
}
sr.objectType = ObjectType.POSTCODE;
sr.priorityDistance = 0;
} else {
if ((locSpecified && !villagesBbox.contains(x, y, x, y))
|| !phrase.isSearchTypeAllowed(ObjectType.VILLAGE)) {