matchTags- don't do locationsAt if locID is +Q2

This commit is contained in:
Milos Brzakovic (E-Search)
2021-10-21 11:03:44 +02:00
parent 599d2df19b
commit dee8cdfe07

View File

@@ -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);