mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-12-26 06:22:13 +03:00
Remove hack that changes the class/type of cities
This interferes badly with the details view. Fixes #1668.
This commit is contained in:
parent
9e2fb45783
commit
8531339b4e
@ -907,12 +907,6 @@ class Geocode
|
||||
$aResult = array_merge($aResult, $aOutlineResult);
|
||||
}
|
||||
|
||||
if ($aResult['extra_place'] == 'city') {
|
||||
$aResult['class'] = 'place';
|
||||
$aResult['type'] = 'city';
|
||||
$aResult['rank_search'] = 16;
|
||||
}
|
||||
|
||||
// Is there an icon set for this type of result?
|
||||
$aClassInfo = ClassTypes\getInfo($aResult);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user