Is there a way to set a pagination order by something that does not exist in
a the database? I have a $percent variable that ranks search requests so
each Post is given a matching percentage and I want to then order the Posts
by ranking percentage highest to lowest.
 
How do I order the Posts by $percent when there is no percent field? Do i
have to re-order that array the way I want then pass it to paginate and
leave order out of the paginate var?
 
Dave 

--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to