From 47f6d20ec98df6f2ca787a6db925be49daef843c Mon Sep 17 00:00:00 2001 From: Marcel Clausen Date: Thu, 11 Apr 2024 21:40:24 +0200 Subject: [PATCH] PB-405: haltestellen rank was missing in this list and was therefore not returned in swisssearch results without origin. --- app/search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/search.py b/app/search.py index ad99f84..647bcaa 100644 --- a/app/search.py +++ b/app/search.py @@ -211,7 +211,7 @@ def _swiss_search(self): # pylint: disable=too-many-branches, too-many-statemen if self.origins is None: self._detect_keywords() # by default filter all available origins/ranks - self.sphinx.SetFilter('rank', [1, 2, 3, 4, 5, 6, 7, 10]) + self.sphinx.SetFilter('rank', [1, 2, 3, 4, 5, 6, 7, 8, 10]) else: self._filter_locations_by_origins()