Query limit property does not work with paged queries. Paginator overwrites the limit with the page size without saving the original and a counter is not kept.
From this issue it sounds like you want to add the following:
1. The limit in the Query class should override the numDocs parameter in the Paginator class.
2. A counter of the number of documents we have iterated through the paginator should be kept.
Mike Wiederhold
added a comment - From this issue it sounds like you want to add the following:
1. The limit in the Query class should override the numDocs parameter in the Paginator class.
2. A counter of the number of documents we have iterated through the paginator should be kept.
Am I correct here?
1. The limit in the Query class should override the numDocs parameter in the Paginator class.
2. A counter of the number of documents we have iterated through the paginator should be kept.
Am I correct here?