refactor: adjust distance sort info in config

CLoses #118
This commit is contained in:
Jovan Krunić
2022-05-19 08:47:26 +02:00
parent bb3be5a816
commit 6e94e1f7e5

View File

@@ -661,7 +661,7 @@ const config: Partial<SCConfigFile> = {
sortTypes: ['ducet'], sortTypes: ['ducet'],
}, },
{ {
fieldName: 'geo.point.coordinates', fieldName: 'geo',
onlyOnTypes: [ onlyOnTypes: [
SCThingType.Building, SCThingType.Building,
SCThingType.PointOfInterest, SCThingType.PointOfInterest,
@@ -670,7 +670,7 @@ const config: Partial<SCConfigFile> = {
sortTypes: ['distance'], sortTypes: ['distance'],
}, },
{ {
fieldName: 'geo.point.coordinates', fieldName: 'geo',
onlyOnTypes: [ onlyOnTypes: [
SCThingType.Building, SCThingType.Building,
SCThingType.PointOfInterest, SCThingType.PointOfInterest,
@@ -679,7 +679,7 @@ const config: Partial<SCConfigFile> = {
sortTypes: ['distance'], sortTypes: ['distance'],
}, },
{ {
fieldName: 'inPlace.geo.point.coordinates', fieldName: 'inPlace.geo',
onlyOnTypes: [ onlyOnTypes: [
SCThingType.DateSeries, SCThingType.DateSeries,
SCThingType.Dish, SCThingType.Dish,