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( ...@@ -60,7 +60,7 @@ data class FacetContainer(
} else { } else {
LanguageContainer.EMPTY 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 else -> EMPTY
} }
......
...@@ -155,8 +155,8 @@ class TestElasticSearchWrapper { ...@@ -155,8 +155,8 @@ class TestElasticSearchWrapper {
listOf("Archivio cantonale del Argovia"), listOf("Archivio cantonale del Argovia"),
emptyList() emptyList()
), ),
null, "aag",
listOf("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