Hi,
We have upgraded one of our sites from 2.1 to 2.5.2. Everything is fine except for a pagiation plugin that we’re using that can be found here http://devot-ee.com/add-ons/logiq-pagination
The plugin uses the channel_module_create_pagination hook to modify the result set and generate the markup required. The actual method called looks like this:
function create_new_pagination(&$data)
{
$data->EE->extensions->end_script = TRUE;
$query = $data->EE->db->query($data->pager_sql);However it is not running the db query correctly because the $data->pager_sql variable is not being set. A var_dump on $data shows a whole load of set data but no pager_sql. The page being called definitely has paged data, and I can confirm on ee 2.1 this var was populated with the value you’d expect (a sql string).
Has the channel_module_create_pagination hook changed in what it returns? Or does anyone else know of any fix for this?
Thanks