From e082d786972c2f7b92efc36860d454f0a4676c38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Wed, 7 Dec 2016 12:07:56 +0100 Subject: [PATCH] fix(elasticsearch): removed unused code --- CHANGELOG.md | 1 + public/app/plugins/datasource/elasticsearch/bucket_agg.js | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9cea61561d4..9d41b15f12c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ * **Cloudwatch**: Make it possible to specify access and secret key on the data source config page [#6697](https://github.com/grafana/grafana/issues/6697) * **Table**: Added Hidden Column Style for Table Panel [#5677](https://github.com/grafana/grafana/pull/5677) * **Graph**: Shared crosshair option renamed to shared tooltip, shows tooltip on all graphs as you hover over one graph. [#1578](https://github.com/grafana/grafana/pull/1578), [#6274](https://github.com/grafana/grafana/pull/6274) +* **Elasticsearch**: Added support for Missing option (bucket) for terms aggregation [#4244](https://github.com/grafana/grafana/pull/4244), thx @shanielh ### Bugfixes * **API**: HTTP API for deleting org returning incorrect message for a non-existing org [#6679](https://github.com/grafana/grafana/issues/6679) diff --git a/public/app/plugins/datasource/elasticsearch/bucket_agg.js b/public/app/plugins/datasource/elasticsearch/bucket_agg.js index 1100f642d50..43ef4f91ab7 100644 --- a/public/app/plugins/datasource/elasticsearch/bucket_agg.js +++ b/public/app/plugins/datasource/elasticsearch/bucket_agg.js @@ -27,7 +27,6 @@ function (angular, _, queryDef) { $scope.orderByOptions = []; $scope.bucketAggTypes = queryDef.bucketAggTypes; - $scope.bucketAggTypesHash = _.indexBy(queryDef.bucketAggTypes, 'value'); $scope.orderOptions = queryDef.orderOptions; $scope.sizeOptions = queryDef.sizeOptions;