Skip to content

Commit

Permalink
Merge pull request #7751 from Bargs/restoreSource
Browse files Browse the repository at this point in the history
Restore _source fetching behavior
  • Loading branch information
Matt Bargar authored Jul 14, 2016
2 parents a9abb0e + 1cd6eec commit 33b3c45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ui/public/courier/data_source/_abstract.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 || [];

Expand Down

0 comments on commit 33b3c45

Please sign in to comment.