diff --git a/src/ui/public/courier/data_source/_abstract.js b/src/ui/public/courier/data_source/_abstract.js index 16b1f2e4a2e37..f2b4eab941af0 100644 --- a/src/ui/public/courier/data_source/_abstract.js +++ b/src/ui/public/courier/data_source/_abstract.js @@ -284,7 +284,8 @@ export default function SourceAbstractFactory(Private, Promise, PromiseEmitter) if (flatState.body.size > 0) { let computedFields = flatState.index.getComputedFields(); - flatState.body.fields = computedFields.fields; + flatState.body.stored_fields = computedFields.storedFields; + flatState.body._source = computedFields._source; flatState.body.script_fields = flatState.body.script_fields || {}; flatState.body.fielddata_fields = flatState.body.fielddata_fields || [];