Commit 2cbc62d6 by Torkel Ödegaard

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

parent cc125f5f
...@@ -209,7 +209,7 @@ function (_, queryDef) { ...@@ -209,7 +209,7 @@ function (_, queryDef) {
throw { message: response.error }; throw { message: response.error };
} }
if (response.hits) { if (response.hits && response.hits.hits.length > 0) {
this.processHits(response.hits, seriesList); this.processHits(response.hits, seriesList);
} }
......
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