Matthew Harris
Jul 24, 2017 · 1 min read

There is an issue with these solutions in that you are filtering them out during the display loop but the pagination doesn’t know so you get the wrong output in the footer like “Showing items 1–7 of 7.” but after the collection has been filtered there are only 6 items.

I can’t find a way to make a new array so that I can pre-filter the collection before it’s passed to the paginate tag. Anyone else had this problem?