mirror of https://github.com/MISP/MISP
Order attributes by UUID for the CSV export, fixes #849
parent
aff8bee4fb
commit
d04e583dd6
|
@ -1279,6 +1279,7 @@ class Event extends AppModel {
|
|||
$params = array(
|
||||
'conditions' => $conditions, //array of conditions
|
||||
'fields' => array('Attribute.event_id', 'Attribute.distribution', 'Attribute.category', 'Attribute.type', 'Attribute.value', 'Attribute.comment', 'Attribute.uuid', 'Attribute.to_ids', 'Attribute.timestamp'),
|
||||
'order' => array('Attribute.uuid ASC')
|
||||
);
|
||||
|
||||
if ($includeContext) {
|
||||
|
|
Loading…
Reference in New Issue