diff --git a/src/ui/public/directives/rows.js b/src/ui/public/directives/rows.js index 03423cccf072af..280b79d2017645 100644 --- a/src/ui/public/directives/rows.js +++ b/src/ui/public/directives/rows.js @@ -35,7 +35,11 @@ module.directive('kbnRows', function ($compile, $rootScope, getAppState, Private if (contents.type === 'bucket' && contents.aggConfig.field() && contents.aggConfig.field().filterable) { $cell = createAggConfigResultCell(contents); } - contents = contents.toString('html'); + + let formatter = contents.aggConfig.fieldFormatter('html'); + contents = formatter(contents.value, + contents.aggConfig.params && contents.aggConfig.params.field && contents.aggConfig.params.field.type); + } if (_.isObject(contents)) {