Morning all, I'm a little stumped this morning, on how to sort a model's records based on the max value of it's associated (has many) dates. Initially I used a find & then a sort, however I now need to paginate the results, so I need to be able to order the results as part of the paginated find.
Anyone offer any clues on this one? I know it's probably possible using a custom SELECT statement, but my SQL is a little rusty at the moment. Thanks for any help, T -- 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 [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
