merged with master and fixed ES issue

This commit is contained in:
Torkel Ödegaard 2015-03-26 12:14:37 +01:00
parent df4a00f8ef
commit 03aa997673

View File

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