mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fixed numeric terms in topN query
This commit is contained in:
parent
f7442f6016
commit
f5e0f0255d
@ -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],
|
||||
|
Loading…
Reference in New Issue
Block a user