diff --git a/src/ui/public/agg_types/buckets/terms.js b/src/ui/public/agg_types/buckets/terms.js index c30444e8d64473..848c37ff355abe 100644 --- a/src/ui/public/agg_types/buckets/terms.js +++ b/src/ui/public/agg_types/buckets/terms.js @@ -29,7 +29,6 @@ import otherBucketTemplate from '../controls/other_bucket.html'; import { getRequestInspectorStats, getResponseInspectorStats } from '../../courier/utils/courier_inspector_utils'; import { buildOtherBucketAgg, mergeOtherBucketAggResponse, updateMissingBucket } from './_terms_other_bucket_helper'; -import { toastNotifications } from '../../notify'; const aggFilter = [ '!top_hits', '!percentiles', '!median', '!std_dev', @@ -236,9 +235,6 @@ export const termsBucketAgg = new BucketAggType({ } if (orderAgg.type.name === 'count') { - if (dir === 'asc') { - toastNotifications.addWarning('Sorting in Ascending order by Count in Terms aggregations is deprecated'); - } order._count = dir; return; }