Sort orgs alphabetically in user index filters

pull/854/head
Iglocska 2016-01-13 15:56:59 +01:00
parent a1f0a88707
commit aab2752cbe
1 changed files with 1 additions and 0 deletions

View File

@ -320,6 +320,7 @@ class UsersController extends AppController {
'conditions' => array('local' => 1),
'recursive' => -1,
'fields' => array('id', 'name'),
'order' => array('LOWER(name) ASC')
));
$orgs = array();
foreach ($temp as $org) {