Skip to content
This repository has been archived by the owner on May 1, 2019. It is now read-only.

Commit

Permalink
Merge pull request #73 from Hounddog/bugfixes
Browse files Browse the repository at this point in the history
Fix order of new Modules and Users
  • Loading branch information
EvanDotPro committed Nov 2, 2012
2 parents 4a37fa0 + 6277c2d commit 3dd662b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function __invoke($options = null)
$limit = isset($options['limit'])?$options['limit']:null;

$mapper = $sm->get('application_module_mapper');
$modules = $mapper->findAll($limit, 'created_at');
$modules = $mapper->findAll($limit, 'created_at', 'DESC');


}
Expand Down
2 changes: 1 addition & 1 deletion module/User/src/User/View/Helper/NewUsers.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function __invoke()
//need to fetch top lvl ServiceManager
$sm = $sm->getServiceLocator();
$mapper = $sm->get('zfcuser_user_mapper');
$users = $mapper->findAll(10, 'created_at');
$users = $mapper->findAll(10, 'created_at', 'DESC');

return $users;
}
Expand Down

0 comments on commit 3dd662b

Please sign in to comment.