OpenBEL/openbel-api

Incorrect total when filtering evidence collection

Opened this issue · 0 comments

Example evidence collection filter:

http://next.belframework.org/api/evidence?start=1&size=100&faceted=1&max_values_per_facet=10&filter={%22category%22:%22fts%22,%22name%22:%22search%22,%22value%22:%22Jennifer%22}

This returns 6 evidence resources in the collection, but the paging information reports 7:

"metadata": {
    "collection_paging": {
        "total": 54491,
        "total_filtered": 7,
        "total_pages": 1,
        "current_page": 1,
        "current_page_size": 6
    }
}