hi, i need help (i think i'm not using the sort() methode correctly!!!) this is my code:
////////////////////////////////////CONTROLLER function salaryhome($id = null) { //... $this->set('demands', $this- >paginate('Absence',array('Absence.user_id'=>$id))); //... } //////////////////////////////////// VIEW //... <th><?php echo $paginator->sort('Demand's Date','date');?></th> <th><?php echo $paginator->sort('Absence Type','absencetype_id');?> //... here you see i'm filtring my request by user_id get from the URL, so if i try to reorder my table by clicking on any table header (ex: the 'Absence Type') i loose the filtring and all data. have any idea to solve this???,, thanks a lot --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---