Pagination returns wrong number of collections

Pagination returns wrong number of collections

satzomatic
Shopify Partner
2 0 1

Hi all,

 

I'm showing all our collections on the homepage and paginating them with {% paginate collections by 20 %}

 

However, this only returns 19 collections on the first paginated page, even though it correctly shows 20 on the subsequent page.

 

If I set it to anything below 16 collections, it works correctly – ie. 16 collections are shown on each page, but setting it to 17 and above always shows one less collection on the first page.

 

Any clues appreciated!

 

Thanks

Michael

Replies 0 (0)