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

Pagination is busted (sometimes) #2

Closed
jwise opened this issue Sep 24, 2019 · 2 comments
Closed

Pagination is busted (sometimes) #2

jwise opened this issue Sep 24, 2019 · 2 comments

Comments

@jwise
Copy link
Contributor

jwise commented Sep 24, 2019

Even internally:

>>> q_base = App.query.filter(App.type == 'watchface', appstore.api.global_filter('basalt')).order_by(App.hearts.desc()).offset(0)
>>> q_base.limit(25).count()
25
>>> len([x for x in q_base.limit(25)])
23
>>> q_base.limit(26).count()
26
>>> len([x for x in q_base.limit(26)])
24

Looks like pallets-eco/flask-sqlalchemy#516 .

@jwise jwise closed this as completed in fb90d7c Sep 24, 2019
@jwise
Copy link
Contributor Author

jwise commented Sep 24, 2019

Thanks to @sGerli for the precise repro case on this!

@jwise
Copy link
Contributor Author

jwise commented Nov 18, 2019

This appears to be back again for watchfaces?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant