Skip to content

Commit

Permalink
Merge pull request #2080 from lukasolson/issue-2077
Browse files Browse the repository at this point in the history
Modify quick count in discover to use sampleSize config
  • Loading branch information
rashidkpc committed Dec 3, 2014
2 parents 0c4c125 + edd3743 commit afedbdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kibana/plugins/discover/controllers/discover.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ define(function (require) {

var sort = $state.sort;
var timeField = $scope.searchSource.get('index').timeFieldName;
var totalSize = $scope.size || 500;
var totalSize = $scope.size || $scope.opts.sampleSize;

/**
* Basically an emum.
Expand Down

0 comments on commit afedbdb

Please sign in to comment.