Skip to content
Snippets Groups Projects
Commit c8460bd7 authored by esikkala's avatar esikkala
Browse files

Update Hellerau configs

parent a1fb2d90
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ export const INITIAL_STATE = {
sortDirection: 'asc',
fetching: false,
fetchingResultCount: false,
facetedSearchHeaderExpanded: false,
facetedSearchHeaderExpanded: true,
instancePageHeaderExpanded: false,
instanceTableData: null,
instanceTableExternalData: null,
......
......@@ -21,7 +21,43 @@ export const INITIAL_STATE = {
filterType: 'textFilter',
textFilter: null,
priority: 1
}
},
home1930: {
id: 'home1930',
// predicate: defined in backend
distinctValueCount: 0,
values: [],
flatValues: [],
sortBy: 'instanceCount',
sortDirection: 'desc',
sortButton: true,
spatialFilterButton: false,
pieChartButton: false,
isFetching: false,
searchField: true,
containerClass: 'ten',
filterType: 'uriFilter',
uriFilter: null,
priority: 2
},
home1937: {
id: 'home1937',
// predicate: defined in backend
distinctValueCount: 0,
values: [],
flatValues: [],
sortBy: 'instanceCount',
sortDirection: 'desc',
sortButton: true,
spatialFilterButton: false,
pieChartButton: false,
isFetching: false,
searchField: true,
containerClass: 'ten',
filterType: 'uriFilter',
uriFilter: null,
priority: 3
},
}
}
......
......@@ -28,10 +28,18 @@ export const hellerauConfig = {
type: 'text'
},
home1930: {
labelPath: 'h-schema:home_1930/gn:name'
id: 'home1930',
predicate: 'h-schema:home_1930',
labelPath: 'h-schema:home_1930/gn:name',
facetValueFilter: '',
type: 'list'
},
home1937: {
labelPath: 'h-schema:home_1937/gn:name'
id: 'home1937',
predicate: 'h-schema:home_1937',
labelPath: 'h-schema:home_1937/gn:name',
facetValueFilter: '',
type: 'list'
}
}
}
......@@ -35,6 +35,6 @@ export const hellerauMigrationsQuery = `
?to__id gn:name ?to__prefLabel ;
wgs84:lat ?to__lat ;
wgs84:long ?to__long .
BIND(IRI(CONCAT(STR(?from__id), "-", REPLACE(STR(?to__id), "https://sws.geonames.org", "--->"))) as ?id)
BIND(IRI(CONCAT(STR(?from__id), "-", REPLACE(STR(?to__id), "https://sws.geonames.org", "--"))) as ?id)
}
`
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment