changed sort-order of Signature Types Histogram

pull/61/head
Christophe Vandeplas 2012-02-20 14:51:37 +01:00
parent 7a820ee8fd
commit 96b91b73c2
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ class UsersController extends AppController {
$params = array('recursive' => 0,
'fields' => $fields,
'group' => array('Signature.type', 'Event.org'),
'order' => array('Event.org', 'num_types DESC'),
'order' => array('num_types DESC', 'Event.org' ),
);
$types_histogram = $this->Signature->find('all', $params);
$this->set('types_histogram', $types_histogram);