Fix tests?
This commit is contained in:
parent
102bd28980
commit
b9c32b7068
|
@ -348,7 +348,7 @@ export function fixupFilterArrays(filters: SearchFilters) {
|
||||||
if (typeof field[key] !== "string") {
|
if (typeof field[key] !== "string") {
|
||||||
field[key] = [field[key]]
|
field[key] = [field[key]]
|
||||||
} else {
|
} else {
|
||||||
field[key] = field[key].split(",").map(x => x.trim())
|
field[key] = field[key].split(",").map((x: string) => x.trim())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue