Open
Description
Pagination with page_size
set is not working as expected. Possibly pagination in general, but I haven't tested with the default page size.
I have 4 site pages. When I set page_size=2
the iterator gives me just the top 2 pages and exits. I've checked that in this case collection.has_next
is never set to true. Without setting page_size
I get all 4 pages as expected.
for page in ctx.site_pages.pages.paged(page_size).get().execute_query():
pages += [page]
Can you check what might be the cause of this issue?
Thanks