From 2df0cafb24fe32b3fbb9385c989da3bb6ad7b37c Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Tue, 23 Apr 2013 21:25:56 +0200 Subject: [PATCH] fix inconsistency between getNearestNamendRoadFeature() and house number search --- website/search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/search.php b/website/search.php index 387a79de..a849ab81 100755 --- a/website/search.php +++ b/website/search.php @@ -941,7 +941,7 @@ } } if ($aSearch['sCountryCode']) $aTerms[] = "country_code = '".pg_escape_string($aSearch['sCountryCode'])."'"; - if ($aSearch['sHouseNumber']) $aTerms[] = "address_rank in (26,27)"; + if ($aSearch['sHouseNumber']) $aTerms[] = "address_rank between 22 and 27"; if ($aSearch['fLon'] && $aSearch['fLat']) { $aTerms[] = "ST_DWithin(centroid, ST_SetSRID(ST_Point(".$aSearch['fLon'].",".$aSearch['fLat']."),4326), ".$aSearch['fRadius'].")"; -- 2.39.5