Closed kb1995 closed 2 years ago
Hey @kb1995,
Thank you for picking this up 💯; it is very possible what you mentioned happened, I'll check the tests too in that case.
I'll have a look at it this evening. 💯👍
@ReeceM Thanks for the quick response. Let me know if I can help with anything
I will definitely do so 👍
Hey @kb1995, so the issue auto closed, but if you don't mind testing the latest
version when you can it would be cool.
If it doesn't please open the issue again 💯
Hey @ReeceM, I just tested it and it works. Thanks for sorting out this issue so quickly!
Awesome, glad it is working 👏👏😁
Describe the bug
I just started working on an existing codebase which uses this package. There are more than a 100 articles, but only the first 100 articles are displayed in the sitemap (using the pageSize option of a 100).
I looked at the codebase and it looks like it's due to this conditional:
I don't think you set
nextPage
anywhere in the file, meaning that this condition will always be false.This is the conditional I've used in previous Prismic projects:
I think this condition might work (but I haven't done any tests though):