]> git.openstreetmap.org Git - nominatim.git/commitdiff
enable reverse search order for everybody
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 18 Jun 2013 19:30:25 +0000 (21:30 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 18 Jun 2013 19:30:25 +0000 (21:30 +0200)
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))."]";