This is an automated email from the ASF dual-hosted git repository. humbedooh pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/kibble.git
commit cbf89343748b85fdee4467fdd1af2e08c6697ae7 Author: Daniel Gruno <humbed...@apache.org> AuthorDate: Fri Mar 2 10:52:54 2018 +0100 use wildcard doc type for counting the new wrapper expects a doc type, due to DB changes, so pass '*' as the type, in order to count everything. --- api/pages/org/list.py | 1 + 1 file changed, 1 insertion(+) diff --git a/api/pages/org/list.py b/api/pages/org/list.py index 28d6d6f..510f796 100644 --- a/api/pages/org/list.py +++ b/api/pages/org/list.py @@ -138,6 +138,7 @@ def run(API, environ, indata, session): orgID = doc['_source']['id'] numDocs = session.DB.ES.count( index=session.DB.dbname, + doc_type = '*', body = {'query': { 'term': {'organisation': orgID}}} )['count'] numSources = session.DB.ES.count( -- To stop receiving notification emails like this one, please contact humbed...@apache.org.