ssg icon indicating copy to clipboard operation
ssg copied to clipboard

Generating paginated results isn't working properly

Open simonhamp opened this issue 2 years ago • 2 comments

I'm using the latest version that has #140 in it. I've updated my config.

The pagination is detecting that it needs to run 👍🏼

But every page generated only has the data for Page 1

simonhamp avatar Sep 07 '23 12:09 simonhamp

@jesseleite It seems to have something to do with cloning the $page object inside writePaginatedPages - when I stop that cloning, it works just fine (but I haven't run the tests yet)

simonhamp avatar Sep 07 '23 13:09 simonhamp

The update also broke pagination on my website. It would happen randomly so pages 1-7 worked and 8 didn't work, then 9-10 worked again.

I had to revert back to v2.0.0.

tao avatar Sep 12 '23 17:09 tao