Skip to content

Commit

Permalink
fix native build
Browse files Browse the repository at this point in the history
  • Loading branch information
a.usenko authored and anti-social committed Jan 30, 2024
1 parent 0be1511 commit cec06f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ open class FacetExpressionsFilter(
) : Filter<FacetExpressionFilterResult>(name) {

override fun prepare(name: String, paramName: String, params: QueryFilterParams): PreparedFacetExpressionFilter {
val filterValues = params.getOrDefault(listOf(paramName), emptyList())
val filterValues = params.getOrElse(listOf(paramName), ::emptyList)

val selectedValues = filterValues.mapNotNull { value ->
allValues.find { it.name == value }
Expand Down

0 comments on commit cec06f1

Please sign in to comment.