]> git.openstreetmap.org Git - nominatim.git/blobdiff - website/search.php
enable reverse search order for everybody
[nominatim.git] / website / search.php
index d486ed66ba5361bec57f7f3d59bbaa50ec2cfef3..a53506957dc9dd36e7ece963d4e20125dadd3e81 100755 (executable)
 
        // 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))."]";