On Wed, Oct 14, 2009 at 5:41 PM, Leonardo "Hackin" Freire
<[email protected]> wrote:

> $clientes = $this->Cliente->find('list', array('order' =>
> array('Cliente.razaoSocial ASC')));

Not sure if it helps, but the fields with more than one
word must be not int the camelBack format, but
underscored.

$clientes = $this->Cliente->find('list', array('order' =>
array('Cliente.razao_social ASC')));


Best regards.

--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia, Brazil
Linux User #221105

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to