has_next_page always returns False
See original GitHub issueI am doing a simple test.
orders = shopify.Order.find()
this returns a list of 50 orders but if I call orders.has_next_page()
this returns False
.
The same thing happens if I do
orders = shopify.Order.find(limit=3)
orders.has_next_page()
still returns False
.
I am trying to retrieve a list of orders between two date by using created_at_min
and created_at_max
but I always have the same problem: orders.has_next_page()
returns False
no matter what.
Any idea on how to solve this? it is unusable for me like this. Many thanks for the help
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (3 by maintainers)
Top Results From Across the Web
Users pagination returns `hasNextPage: false` even ... - GitHub
Just gave this a shot locally on an installation of my own and hasNextPage always appears false for all requests I've tried (not...
Read more >hasNextPage() always returns false on Dynamic Pages (Solved)
Hey there! Today I got a question here in the forums why hasNext() and hasNextPage() always returns false. I realized that it does...
Read more >I cannot do loadMore because hasMore() returns false always ...
I cannot do loadMore because hasMore() returns false always even if hasNextPage is true? ... Why would my hasMore() return false when hasNextPage...
Read more >Why is hasPreviousPage always false? - BigCommerce Support
When using `first: x, after: x`, `hasNextPage`will be expected to return true unless false, and the opposite is seen with `last: x, before:...
Read more >Pagination - Developers | Samsara
hasNextPage: false ... This parameter allows you to limit the number of objects returned on each page ... It is important that you...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The problem is with the library. If I try to use shopify REST API directly I get the correct result.
Checking metadata provides the same result. No next page
Just realized I didn’t set the API version on a new feature branch, this issue can be resolved with this snippet: