From dee8cdfe07a8e6bc04cc57e2b59415e5d5f6659e Mon Sep 17 00:00:00 2001 From: "Milos Brzakovic (E-Search)" Date: Thu, 21 Oct 2021 11:03:44 +0200 Subject: [PATCH] matchTags- don't do locationsAt if locID is +Q2 --- modules/presets/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/presets/index.js b/modules/presets/index.js index 51076d96d..6487534a6 100644 --- a/modules/presets/index.js +++ b/modules/presets/index.js @@ -234,7 +234,7 @@ export function presetIndex() { } } - if (match && match.locationSetID && Array.isArray(loc)){ + if (match && match.locationSetID && match.locationSetID !== '+[Q2]' && Array.isArray(loc)){ validLocations = locationManager.locationsAt(loc); if (!validLocations[match.locationSetID]){ matchCandidates.sort((a, b) => (a.score < b.score) ? 1 : -1);