Commit 34732e25 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Add institution & record set uris

parent 1b8cf260
......@@ -87,13 +87,13 @@ class SearchDocTransform {
id = id,
institution = listOf(
NameContainer(
LanguageContainer(listOf("Institution"), listOf("institution"), listOf("istituzione"), emptyList()),
listOf("https://memobase.ch/institution/MEMORIAV")
LanguageContainer(emptyList(), emptyList(), emptyList(), emptyList()),
listOf(record["heldBy"] as String)
)
),
recordSet = NameContainer(
LanguageContainer(listOf("Bestand"), listOf("collection"), listOf("fondo"), emptyList()),
listOf("https://memobase.ch/recordSet/EXAMPLE")
LanguageContainer(emptyList(), emptyList(), emptyList(), emptyList()),
listOf(record["isPartOf"] as String)
),
descriptiveNote = Extract.languageContainer("descriptiveNote", record["descriptiveNote"]),
scopeAndContent = Extract.languageContainer("scopeAndContent", record["scopeAndContent"]),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment