mirror of https://github.com/MISP/MISP
Merge pull request #3826 from MISP/sortingOnTimestamp
chg: [eventview] changed default attribute sorting to timestamp->descpull/3880/head
commit
af265b299a
|
@ -1268,7 +1268,8 @@ class EventsController extends AppController
|
|||
}
|
||||
}
|
||||
}
|
||||
$params = $this->Event->rearrangeEventForView($event);
|
||||
$passedArgs = array('sort' => 'timestamp', 'direction' => 'desc');
|
||||
$params = $this->Event->rearrangeEventForView($event, $passedArgs);
|
||||
$this->params->params['paging'] = array($this->modelClass => $params);
|
||||
$this->set('event', $event);
|
||||
$dataForView = array(
|
||||
|
|
Loading…
Reference in New Issue