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 <[email protected]> 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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to