mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
* fix formatting logic for terms (#125408)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 617a602c5d
)
* Update index.tsx
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
Co-authored-by: Joe Reuter <email@johannes-reuter.de>
This commit is contained in:
parent
f338bbb481
commit
6820dde595
1 changed files with 3 additions and 2 deletions
|
@ -399,6 +399,7 @@ export const termsOperation: OperationDefinition<TermsIndexPatternColumn, 'field
|
|||
...layer.columns,
|
||||
[columnId]: {
|
||||
...column,
|
||||
dataType: newDataType,
|
||||
sourceField: fields[0],
|
||||
label: ofName(
|
||||
indexPattern.getFieldByName(fields[0])?.displayName,
|
||||
|
@ -406,10 +407,10 @@ export const termsOperation: OperationDefinition<TermsIndexPatternColumn, 'field
|
|||
newParams.orderBy.type === 'rare'
|
||||
),
|
||||
params: {
|
||||
...column.params,
|
||||
...newParams,
|
||||
secondaryFields,
|
||||
parentFormat: getParentFormatter({
|
||||
...column.params,
|
||||
...newParams,
|
||||
secondaryFields,
|
||||
}),
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue