From 872795ff8ec7929e213dee69427de5d92e2370ad Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Tue, 18 Jun 2013 21:30:25 +0200 Subject: [PATCH] enable reverse search order for everybody --- website/search.php | 3 +++ 1 file changed, 3 insertions(+) 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))."]"; -- 2.39.5