Can you paste the SQL query here, which Cake has generated for both?

[EMAIL PROTECTED] wrote:
> for some strange reason i get the right 20 results when i do this:
>               $post = $this->Post->findAll(
>                       null,
>                       null,
>                       'Post.modified ASC',
>                       20
>               );
>
>
>
> But when I reverse the order, I only get 1 result:
>               $post = $this->Post->findAll(
>                       null,
>                       null,
>                       'Post.modified DESC',
>                       20
>               );
>
> Any suggestions anyone?
--~--~---------~--~----~------------~-------~--~----~
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