mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
parent
2971a8ab27
commit
26cf278e2d
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ const CourierRequestHandlerProvider = function (Private, courier, timefilter) {
|
|||
resolve(_.cloneDeep(searchSource.rawResponse));
|
||||
}
|
||||
}).then(async resp => {
|
||||
for (const agg of vis.aggs) {
|
||||
for (const agg of vis.getAggConfig()) {
|
||||
const nestedSearchSource = new SearchSource().inherits(searchSource);
|
||||
resp = await agg.type.postFlightRequest(resp, vis.aggs, agg, nestedSearchSource);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue