user2132073 user2132073 - 4 months ago 18
PHP Question

CakePHP: is there a way to make every find('list') return an array ordered?

I'd like every

Model->find('list')
could return the array ordered by the $displayField set on Model. Is there a way to do this beyond set
'order' => 'Model.display_field ASC'
on every find call?

Answer