Commit f5e0f025 by Ian Babrou

fixed numeric terms in topN query

parent f7442f60
......@@ -113,7 +113,7 @@ function (angular, _, config, kbn) {
return _.map(data.facets.query.terms,function(t) {
++i;
return self.defaults({
query : q.field+':"'+kbn.addslashes(t.term)+'"'+suffix,
query : q.field+':"'+kbn.addslashes('' + t.term)+'"'+suffix,
alias : t.term + (q.alias ? " ("+q.alias+")" : ""),
type : 'lucene',
color : _colors[i],
......
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