mirror of https://github.com/MISP/MISP
changed sort-order of Signature Types Histogram
parent
7a820ee8fd
commit
96b91b73c2
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue