I do not know why my DESC sort query is not working?? According to the 
manual and other sources, it should be working fine:

function pd_list() {

    return $this->PlanDetail->find('all', array('order' => 'PlanDetail.name 
DESC', 'limit' => 10));

}

All data is being displayed as expected in my element, but its not in DESC 
(and the 10 limit is not working either) order and Ive tried several tests 
and the 'order' => seems to have no effect?
sorting <http://stackoverflow.com/questions/tagged/sorting> 
cakephp<http://stackoverflow.com/questions/tagged/cakephp>
 element <http://stackoverflow.com/questions/tagged/element>

-- 
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

Reply via email to