That set of params correctly returns the number of posts into the array variable. I correctly get 178 back.
If I change the page_size param from 100 to 20, I'm missing two posts.
Hey @beewuu - thanks for the note. Can you chat with our support on buttercms.com (chat bubble in the bottom right?) and reference this issue? That's the best channel for tech support. Cheers
We currently have a combined total of 178 published and draft posts on butter.
Given this code
That set of params correctly returns the number of posts into the array variable. I correctly get 178 back. If I change the page_size param from 100 to 20, I'm missing two posts.
I ran the code above with page_size ranging from 1 - 100 and it seems only the number 20 incorrectly returns the number of blog posts.
The bug does appear to occur only when I pass in the preview param in combination with page_size = 20.