]> git.openstreetmap.org Git - nominatim.git/commitdiff
better grouping
authorSarah Hoffmann <lonvia@denofr.de>
Fri, 28 Feb 2020 21:10:35 +0000 (22:10 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Fri, 28 Feb 2020 21:10:35 +0000 (22:10 +0100)
lib/PlaceLookup.php

index 3531413fbcab40fb3bda5665fb3f1a4d6c5f21bc..1a76389ac8a4002a8a2561e0c2e88c25ae4455b5 100644 (file)
@@ -248,7 +248,7 @@ class PlaceLookup
             $sSQL .= '     ref, ';
             if ($this->bExtraTags) $sSQL .= 'extratags, ';
             if ($this->bNameDetails) $sSQL .= 'name, ';
-            $sSQL .= "     extratags->'place' ";
+            $sSQL .= "     extra_place ";
 
             $aSubSelects[] = $sSQL;
         }