Skip to content

Commit

Permalink
Filter builder and facets should use same value. Closes #845
Browse files Browse the repository at this point in the history
  • Loading branch information
Rashid Khan committed Feb 11, 2014
1 parent 04eb85f commit d55ad64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/panels/terms/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ function (angular, app, _, $, kbn) {
if($scope.panel.tmode === 'terms') {
request = request
.facet($scope.ejs.TermsFacet('terms')
.field($scope.panel.field)
.field($scope.field)
.size($scope.panel.size)
.order($scope.panel.order)
.exclude($scope.panel.exclude)
Expand All @@ -181,7 +181,7 @@ function (angular, app, _, $, kbn) {
request = request
.facet($scope.ejs.TermStatsFacet('terms')
.valueField($scope.panel.valuefield)
.keyField($scope.panel.field)
.keyField($scope.field)
.size($scope.panel.size)
.order($scope.panel.order)
.facetFilter($scope.ejs.QueryFilter(
Expand Down

0 comments on commit d55ad64

Please sign in to comment.