Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filtered iteration is not calculating correctly the number of elements it has to iterate over #14

Closed
ipazc opened this issue Oct 11, 2017 · 0 comments
Assignees
Labels

Comments

@ipazc
Copy link
Owner

ipazc commented Oct 11, 2017

When it is specified an option to the filtered iteration, it may iterate over less elements because less elements match the desired options. When this is the case, the iterator keeps iterating until the page count is reached, even when there are no elements matching the options set.
Thus, iterator should stop whenever backend is not returning elements at all.

@ipazc ipazc added the bug label Oct 11, 2017
@ipazc ipazc self-assigned this Oct 11, 2017
@ipazc ipazc closed this as completed in 65dfccd Oct 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant