From: Sarah Hoffmann Date: Tue, 18 Jun 2013 19:30:25 +0000 (+0200) Subject: enable reverse search order for everybody X-Git-Tag: deploy~603 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/872795ff8ec7929e213dee69427de5d92e2370ad?ds=inline enable reverse search order for everybody --- diff --git a/website/search.php b/website/search.php index d486ed66..a5350695 100755 --- a/website/search.php +++ b/website/search.php @@ -75,10 +75,13 @@ // Preferred language $aLangPrefOrder = getPreferredLanguages(); + $bReverseInPlan = true; + /* if (isset($aLangPrefOrder['name:de'])) $bReverseInPlan = true; if (isset($aLangPrefOrder['name:ru'])) $bReverseInPlan = true; if (isset($aLangPrefOrder['name:ja'])) $bReverseInPlan = true; if (isset($aLangPrefOrder['name:pl'])) $bReverseInPlan = true; + */ $sLanguagePrefArraySQL = "ARRAY[".join(',',array_map("getDBQuoted",$aLangPrefOrder))."]";