Skip to content

Commit

Permalink
[TSVB] [Table tab] Fix "Math" aggregation (elastic#100765)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwizp authored and kibanamachine committed May 28, 2021
1 parent f8cb865 commit e561184
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 e561184

Please sign in to comment.