You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, the issue is property next_num is just incrementing the page number without validating whether its property has_next is true or false. I would like to work on this issue. Can you please assign it to me so I can get started? Thank you!
Example:
def view_todos(page=1): paginated_todos = Todo.objects.paginate(page=page, per_page=10)
Assumption : Todo doesn't have any records in database
Result:
As page = 1, next_num=2 :
flask-mongoengine/flask_mongoengine/pagination.py
Line 78 in 93bd9b9
The text was updated successfully, but these errors were encountered: