Commit 4249bdc6 by Philip Weaver

in derivequeries panel, set alias for each generated query.

parent 6090f684
...@@ -94,7 +94,7 @@ angular.module('kibana.derivequeries', []) ...@@ -94,7 +94,7 @@ angular.module('kibana.derivequeries', [])
// if it isn't in the list, remove it // if it isn't in the list, remove it
var _iq = querySrv.findQuery(_q); var _iq = querySrv.findQuery(_q);
if(!_iq) { if(!_iq) {
ids.push(querySrv.set({query:_q})); ids.push(querySrv.set({alias: v.term, query:_q}));
} else { } else {
ids.push(_iq.id); ids.push(_iq.id);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment