someone else can point me to what is probably an obvious answer...
How can one setup multiple levels or ordering for pagination?
For example: My user listing has a default pagination order of
'User.last_name', but when I select another column (say 'state') the
results are sorted by state only (results from the same state are
listed in the order they are in the database).
Can I setup pagination to sort results by state,last_name (i.e. use a
secondary ordering), or do I need to setup a custom query for this?
Thanks
--~--~---------~--~----~------------~-------~--~----~
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:
Post a Comment