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