mirror of
https://github.com/grafana/grafana.git
synced 2024-12-01 21:19:28 -06:00
merged with master and fixed ES issue
This commit is contained in:
parent
df4a00f8ef
commit
03aa997673
@ -266,7 +266,6 @@ function (angular, _, config, kbn, moment) {
|
||||
facets: { tags: { terms: { field: "tags", order: "term", size: 50 } } },
|
||||
size: this.searchMaxResults,
|
||||
sort: ["_uid"],
|
||||
fields: ["title", "tags"]
|
||||
};
|
||||
|
||||
return this._post('/dashboard/_search', query)
|
||||
@ -282,8 +281,8 @@ function (angular, _, config, kbn, moment) {
|
||||
var hit = resultsHits[i];
|
||||
displayHits.dashboards.push({
|
||||
id: hit._id,
|
||||
title: hit.fields.title,
|
||||
tags: hit.fields.tags
|
||||
title: hit._source.title,
|
||||
tags: hit._source.tags
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user