Counting Array Items When perPage Present in Query

3 posts by 2 authors in: Forums > CMS Builder
Last Post: June 24, 2013   (RSS)

Hi  again,

Am trying to count() the elements returned in an array. However, the query uses the perPage => #, argument. This means that my count() will always be =< the perPage value. 

Short of running another query under a different name without that limit, does anyone know how to get the full count of the array elements? In this sense the perPage item acts more like a limit than I would have expected.

Thanks,

J.

D'oh!

A sheepish thank you on that one.