Skip to content
Snippets Groups Projects
Commit 957fc2de authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

[fix] Es: search on block has bad total number

parent 90763e7a
No related branches found
No related tags found
No related merge requests found
...@@ -68,7 +68,7 @@ angular.module('cesium.es.blockchain.services', ['cesium.services', 'cesium.es.h ...@@ -68,7 +68,7 @@ angular.module('cesium.es.blockchain.services', ['cesium.services', 'cesium.es.h
hits: hits, hits: hits,
took: res.took, took: res.took,
total: res && res.hits && res.hits.total ? ( total: res && res.hits && res.hits.total ? (
options.excludeCurrent ? res.hits.total-1 : res.hits.total) : 0 hasExcludedCurrent ? res.hits.total-1 : res.hits.total) : 0
}; };
// Fill avatar // Fill avatar
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment