]> git.openstreetmap.org Git - nominatim.git/commitdiff
readd boundary:administrative to class importance
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 22 Oct 2020 08:16:04 +0000 (10:16 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 22 Oct 2020 08:16:04 +0000 (10:16 +0200)
lib/ClassTypes.php

index c8d37e5287d3097d429906ab832def1b96bbaf8f..752db86598d7ddc1aed422e7679b98736b4e1ca3 100644 (file)
@@ -275,6 +275,7 @@ function getImportance($aPlace)
 
     if ($aWithImportance === null) {
         $aWithImportance = array_flip(array(
 
     if ($aWithImportance === null) {
         $aWithImportance = array_flip(array(
+                                           'boundary:administrative',
                                            'place:country',
                                            'place:state',
                                            'place:province',
                                            'place:country',
                                            'place:state',
                                            'place:province',