Skip to content

Commit

Permalink
Merge pull request #1085 from wazuh/issue-1084
Browse files Browse the repository at this point in the history
Removed popularizeField query until kibana/#22426 is solved
  • Loading branch information
Jesús Ángel authored Dec 12, 2018
2 parents ae647f6 + 38fbae1 commit f5bc4e8
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions public/kibana-integrations/kibana-discover.js
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,8 @@ function discoverController(

// TODO: On array fields, negating does not negate the combination, rather all terms
$scope.filterQuery = function(field, values, operation) {
$scope.indexPattern.popularizeField(field, 1);
// Commented due to https://github.com/elastic/kibana/issues/22426
//$scope.indexPattern.popularizeField(field, 1);
filterActions.addFilter(
field,
values,
Expand All @@ -862,12 +863,14 @@ function discoverController(
};

$scope.addColumn = function addColumn(columnName) {
$scope.indexPattern.popularizeField(columnName, 1);
// Commented due to https://github.com/elastic/kibana/issues/22426
//$scope.indexPattern.popularizeField(columnName, 1);
columnActions.addColumn($scope.state.columns, columnName);
};

$scope.removeColumn = function removeColumn(columnName) {
$scope.indexPattern.popularizeField(columnName, 1);
// Commented due to https://github.com/elastic/kibana/issues/22426
//$scope.indexPattern.popularizeField(columnName, 1);
columnActions.removeColumn($scope.state.columns, columnName);
};

Expand Down

0 comments on commit f5bc4e8

Please sign in to comment.