http://book.cakephp.org/view/166/Pagination-in-Views
See all the way at the bottom about passing the parameters to the
paginator.
On Oct 7, 10:08 am, Elmaho <[EMAIL PROTECTED]> wrote:
> hi, everyone;
>
> i've used a condition in the Paginate like so;
> $this->set('demands', $this-
>
> >paginate('Absence',array('Absence.user_id'=>$id)));
>
> and the $id is gat as parametre in the action. If i execute the code
> for the fist time it worked perfectly, but if i click on the header of
> the table (which is sortable) i loose all data and filtring.
>
> thanks ahead.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---