Hi Guys,
I have a weird issue. it seems that count() always return zero when using ->offset().
ee('Model')->get('ChannelEntry')->offset(10)->count(); //return 0
ee('Model')->get('ChannelEntry')->count(); //return correct number
It seems like an issue with MySQL and not with EE self (https://stackoverflow.com/questions/32814423/mysql-get-count-of-items-after-offset). But it would be nice to fix this.
Any idea how to get around this problem?
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.