]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/PlaceLookup.php
better grouping
[nominatim.git] / 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;
         }