fix(elasticsearch): fixed elasticsearch issue, ghost docs series, fixes #3223

This commit is contained in:
Torkel Ödegaard
2015-11-13 09:30:28 +01:00
parent cc125f5fd7
commit 2cbc62d6c0
@@ -209,7 +209,7 @@ function (_, queryDef) {
throw { message: response.error };
}
if (response.hits) {
if (response.hits && response.hits.hits.length > 0) {
this.processHits(response.hits, seriesList);
}