sortBy do not exists !!! :( http://api.cakephp.org/class/paginator-helper
On 8 abr, 03:24, Elavazhagan chidambaram <azhagancod...@gmail.com> wrote: > this is ur code <?php echo $paginator->sort('MUNICIPIO', > 'Municipio.Nome_municipio'); ?> > > this code right code <?php echo > $paginator->sortBy('Municipio.Nome_municipio', 'MUNICIPIO'); ?> > > On Tue, Apr 7, 2009 at 9:34 PM, Celso <cels...@gmail.com> wrote: > > > Hi! I have this problem: > > > <th><?php echo $paginator->sort('MUNICIPIO', > > 'Municipio.Nome_municipio'); ?></th> > > > result in: > > > a href=" ... /sort:Municipio.Nome_municipio/ ... > > > <?php echo $paginator->next("Proximo"); ?> > > > result in: > > > a href=" ... /sort:Nome_municipio/ ... > > > Only works with same model... > > Why? > > > Celso. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---