From 96b91b73c27a99d5eaef0e48f0c21d94966ccce0 Mon Sep 17 00:00:00 2001 From: Christophe Vandeplas Date: Mon, 20 Feb 2012 14:51:37 +0100 Subject: [PATCH] changed sort-order of Signature Types Histogram --- app/controllers/users_controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/users_controller.php b/app/controllers/users_controller.php index 2c54b9d30..5edc188f5 100755 --- a/app/controllers/users_controller.php +++ b/app/controllers/users_controller.php @@ -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);