Skip to content

Commit

Permalink
removes :filters from label (#12962) (#13233)
Browse files Browse the repository at this point in the history
  • Loading branch information
ppisljar authored Aug 4, 2017
1 parent e5b6450 commit 47f800d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/ui/public/agg_response/tabify/_response_writer.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,11 @@ export function TabbedAggResponseWriterProvider(Private) {
if (group) {
table.aggConfig = agg;
table.key = key;
table.title = (table.fieldFormatter()(key)) + ': ' + agg.makeLabel();
table.title = (table.fieldFormatter()(key));
// aggs that don't implement makeLabel should not add to title
if (agg.makeLabel() !== agg.name) {
table.title += ': ' + agg.makeLabel();
}
}

// link the parent and child
Expand Down

0 comments on commit 47f800d

Please sign in to comment.