X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/8ffa5be81fddc6e82df7466cd3f07cad873a440c..2956ea4019bc7272abb335995cb1892fbcda20ef:/lib/Geocode.php diff --git a/lib/Geocode.php b/lib/Geocode.php index a01869fd..4d30db98 100644 --- a/lib/Geocode.php +++ b/lib/Geocode.php @@ -262,6 +262,7 @@ $sSQL .= "and 30 between $iMinAddressRank and $iMaxAddressRank "; $sSQL .= "group by place_id"; if (!$bDeDupe) $sSQL .= ",place_id"; + /* $sSQL .= " union "; $sSQL .= "select 'L' as osm_type,place_id as osm_id,'place' as class,'house' as type,null as admin_level,30 as rank_search,30 as rank_address,min(place_id) as place_id,'us' as country_code,"; $sSQL .= "get_address_by_language(place_id, $sLanguagePrefArraySQL) as langaddress,"; @@ -276,9 +277,10 @@ $sSQL .= "group by place_id"; if (!$bDeDupe) $sSQL .= ",place_id"; $sSQL .= ",get_address_by_language(place_id, $sLanguagePrefArraySQL) "; + */ } - $sSQL .= "order by importance desc"; + $sSQL .= " order by importance desc"; if (CONST_Debug) { echo "