]> git.openstreetmap.org Git - nominatim.git/commitdiff
enable reverse-order search for Polish users
authorSarah Hoffmann <lonvia@denofr.de>
Sun, 26 Aug 2012 19:10:54 +0000 (21:10 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sun, 26 Aug 2012 19:10:54 +0000 (21:10 +0200)
website/search.php

index 27d31fa24a62589f307ec63f2bf213150213fc00..461e4530f6e125260e0f5378d309e81dc4fdc098 100755 (executable)
@@ -41,6 +41,7 @@
        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))."]";