Commit 03aa9976 by Torkel Ödegaard

merged with master and fixed ES issue

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