mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
Remove duplicate fields of rollup based index patterns (#37221)
Rollup fields were were merged twice with other fields, this caused duplicates. Fix of a bug introduced by #28762
This commit is contained in:
parent
f1c794045b
commit
90fdb149e0
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ export function registerFieldsForWildcardRoute(server) {
|
|||
const mergedRollupFields = mergeCapabilitiesWithFields(rollupIndexCapabilities, fieldsFromFieldCapsApi, rollupFields);
|
||||
|
||||
return {
|
||||
fields: [ ...rollupFields, ...mergedRollupFields ]
|
||||
fields: mergedRollupFields
|
||||
};
|
||||
} catch(err) {
|
||||
if (isEsError(err)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue