Sorting with multiple fields in cakePHP pagination
Hi All,
I am using cakePHP pagination component for pagination.
Suppose my table has 2 fields name and company. I want that when the user sorts by company (for example), it should be sorted by 2 fields "company" and "ID".
Basically i want the fields to sorted by multiple fields when user clicks on any of the the the table header.
Thanks in advance :)
Nikhil
-- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
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
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home