-
\ No newline at end of file
diff --git a/panels/stringquery/module.js b/panels/stringquery/module.js
index 2a19a97e546..76de35ffe0f 100644
--- a/panels/stringquery/module.js
+++ b/panels/stringquery/module.js
@@ -35,8 +35,14 @@ angular.module('kibana.stringquery', [])
}
}
+ $scope.set_multi = function(multi) {
+ $scope.panel.query = multi ?
+ new Array($scope.panel.query) : $scope.panel.query[0];
+ }
+
$scope.remove_query = function(index) {
$scope.panel.query.splice(index,1);
+ console.log($scope.panel.query)
}
$scope.init();