Fix incorrect reporting in some collections. If a status is specified to the status() function, the number of records corresponding to that status was incorrectly calculated. It was calculated in such a way that only if all specifications were that status for a record would it be counted. This led to a mismatch between get_status() and get_status(status='COMPLETE')
Description
Fix incorrect reporting in some collections. If a status is specified to the
status()
function, the number of records corresponding to that status was incorrectly calculated. It was calculated in such a way that only if all specifications were that status for a record would it be counted. This led to a mismatch betweenget_status()
andget_status(status='COMPLETE')
Before:
After:
Changelog description
Fixes incorrect status reporting in collections
Status