Order attributes by UUID for the CSV export, fixes #849

pull/854/head
Iglocska 2016-01-13 11:35:25 +01:00
parent aff8bee4fb
commit d04e583dd6
1 changed files with 1 additions and 0 deletions

View File

@ -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) {