I'm trying to use the pagination helper in 1.2 I'm following the example given here http://bakery.cakephp.org/articles/view/basic-pagination-overview-3
I set the following in my controller var $paginate = array('Game' => array('limit'=>5), 'System' => array('limit'=>5)); in my action I call paginate and pass the results to my view $res = $this->paginate(); $this->set('games', $res); In my view I have the following <?php echo $paginator->sort('Name', 'name', array('model'=>'Game'));?> <?php echo $paginator->sort('System', 'name', array('model'=>'System'));?> However this results in a lot of warnings and errors about array_merge in CORE\cake\libs\view\helpers\paginator.php How can I do this? I need to have sort column headers for multiple items and they are all stored in different models. I've tried using $paginator->sort('System', 'System.name') but link is still sorting on Game.name which is wrong Is this a bug in 1.2? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---