Skip to content

Commit

Permalink
[osci23] set flattenHit() deep param as true
Browse files Browse the repository at this point in the history
Signed-off-by: qiwen li <[email protected]>
  • Loading branch information
MadaniKK committed Nov 3, 2023
1 parent eeb3251 commit 5616f88
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export function flattenHitWrapper(
metaFields = {},
cache = new WeakMap()
) {
return function cachedFlatten(hit: Record<string, any>, deep = false) {
return function cachedFlatten(hit: Record<string, any>, deep = true) {
const decorateFlattened = decorateFlattenedWrapper(hit, metaFields);
const cached = cache.get(hit);
const flattened = cached || flattenHit(indexPattern, hit, deep);
Expand Down

0 comments on commit 5616f88

Please sign in to comment.