From 803f24cb4c54f75bb7e0b06f6838e958ea613ac7 Mon Sep 17 00:00:00 2001 From: Rashid Khan Date: Sun, 14 Jul 2013 22:00:46 -0700 Subject: [PATCH] Fixed clicking of map areas --- panels/map/module.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/panels/map/module.js b/panels/map/module.js index c90644a95be..e38f3ee0a4e 100644 --- a/panels/map/module.js +++ b/panels/map/module.js @@ -99,9 +99,7 @@ angular.module('kibana.map', []) } $scope.build_search = function(field,value) { - _.each(query.list,function(q) { - q.query = add_to_query(q.query,field,value,false); - }) + filterSrv.set({type:'querystring',mandate:'must',query:field+":"+value}) dashboard.refresh(); }