|
|
@@ -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
|
|
|
});
|
|
|
}
|
|
|
|