Skip to content

Commit

Permalink
Try to set order on more things.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Oct 25, 2012
1 parent 9e07789 commit 83d307e
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -492,7 +492,8 @@ public function testPaginateExtraParams() {
'PaginatorControllerPost' => array(
'contain' => array('PaginatorControllerComment'),
'maxLimit' => 10,
'paramType' => 'named'
'paramType' => 'named',
'order' => array('PaginatorControllerPost.id' => 'ASC')
),
);
$result = $Controller->Paginator->paginate('PaginatorControllerPost');
Expand Down

0 comments on commit 83d307e

Please sign in to comment.