Wednesday, April 1, 2009

Re: Paging with aplhabetical search, not only by page number

You would have to do it yourself in the conditions of the $paginate
property. Im not sure if this will work, but something like:

$this->paginate['Model']['conditions']['Model.name LIKE'] = '%'.
$letter;
--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: