In both PHP and VaeML examples in the documentation, v:if statements are nested inside the v:collection tag. This seems to be sometimes necessary in my experience, however, it also makes pagination inaccurate. In cases where you can't use predicate expressions in the collection tag to achieve the desired effect, is there an ideal way to use a v:if to filter and v:paginate to paginate properly?
iterates through 24 collection items
<v:collection path="items" id="itemCollection" paginate="24">
15 of those items make it through the v:if
<v:if path="filterResultsWithPHP(<v->)">
<v=title>
</v:if>
</v:collection>
pagination iterates by multiples of 24 when only 15 items are shown
<v:pagination id="itemCollection" />
It looks like you're new here. If you want to get involved, click one of these buttons!