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
-~----------~----~----~----~------~----~------~--~---

Reply via email to