From 6e94e1f7e58b7f6376dbbe4efbaa28e5bb2a1126 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jovan=20Kruni=C4=87?= Date: Thu, 19 May 2022 08:47:26 +0200 Subject: [PATCH] refactor: adjust distance sort info in config CLoses #118 --- config/default.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/default.ts b/config/default.ts index 59144e92..8109c910 100644 --- a/config/default.ts +++ b/config/default.ts @@ -661,7 +661,7 @@ const config: Partial = { sortTypes: ['ducet'], }, { - fieldName: 'geo.point.coordinates', + fieldName: 'geo', onlyOnTypes: [ SCThingType.Building, SCThingType.PointOfInterest, @@ -670,7 +670,7 @@ const config: Partial = { sortTypes: ['distance'], }, { - fieldName: 'geo.point.coordinates', + fieldName: 'geo', onlyOnTypes: [ SCThingType.Building, SCThingType.PointOfInterest, @@ -679,7 +679,7 @@ const config: Partial = { sortTypes: ['distance'], }, { - fieldName: 'inPlace.geo.point.coordinates', + fieldName: 'inPlace.geo', onlyOnTypes: [ SCThingType.DateSeries, SCThingType.Dish,