Commit 1ad8a776 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Move value to filter to mirror all other cases.

parent 33602acd
Pipeline #25004 passed with stages
in 5 minutes and 2 seconds
......@@ -60,7 +60,7 @@ data class FacetContainer(
} else {
LanguageContainer.EMPTY
}
FacetContainer(languageContainer, null, extractMapItem(map as Map<String, Any?>, "filter"))
FacetContainer(languageContainer, extractMapItem(map as Map<String, Any?>, "filter")[0], emptyList())
}
else -> EMPTY
}
......
......@@ -155,8 +155,8 @@ class TestElasticSearchWrapper {
listOf("Archivio cantonale del Argovia"),
emptyList()
),
null,
listOf("aag")
"aag",
emptyList()
)
)
}
......
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