From 7ea860b2c083a0b1c3cc99fb07cd803b2000f880 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Tue, 22 Oct 2019 23:10:32 +0200 Subject: [PATCH] Revert "increase weight for country tokens" This reverts commit 0176cbd25323447163193114ca15ed83d71db36a. --- lib/SearchDescription.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/SearchDescription.php b/lib/SearchDescription.php index 47676d59..506d4202 100644 --- a/lib/SearchDescription.php +++ b/lib/SearchDescription.php @@ -187,7 +187,7 @@ class SearchDescription ) { if (!$this->sCountryCode) { $oSearch = clone $this; - $oSearch->iSearchRank += 2; + $oSearch->iSearchRank++; $oSearch->sCountryCode = $oSearchTerm->sCountryCode; // Country is almost always at the end of the string // - increase score for finding it anywhere else (optimisation) -- 2.39.5