Browse Source

Enclose string in quotes

Rashid Khan 12 years ago
parent
commit
c25fd72cbf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panels/derivequeries/module.js

+ 1 - 1
panels/derivequeries/module.js

@@ -81,7 +81,7 @@ angular.module('kibana.derivequeries', [])
       $scope.panel.loading = false;
       $scope.panel.loading = false;
       var data = [];
       var data = [];
       _.each(results.facets.query.terms, function(v) {
       _.each(results.facets.query.terms, function(v) {
-        data.push($scope.panel.field+":"+v.term)
+        data.push($scope.panel.field+':"'+v.term+'"')
       });
       });
       console.log(data)
       console.log(data)
       $scope.send_query(data)
       $scope.send_query(data)