Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Commit

Permalink
[TSVB] [Table tab] Fix "Math" aggregation (elastic#100765) (elastic#1…
Browse files Browse the repository at this point in the history
…00896)

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
  • Loading branch information
kibanamachine and alexwizp authored May 28, 2021
1 parent 64528b1 commit 50e6387
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

import { mathAgg } from '../series/math';

export function math(bucket, panel, series) {
export function math(bucket, panel, series, meta, extractFields) {
return (next) => (results) => {
const mathFn = mathAgg({ aggregations: bucket }, panel, series);
const mathFn = mathAgg({ aggregations: bucket }, panel, series, meta, extractFields);
return mathFn(next)(results);
};
}

0 comments on commit 50e6387

Please sign in to comment.