Skip to content
Snippets Groups Projects
Commit e9312760 authored by Peter Rotich's avatar Peter Rotich
Browse files

Change the order of organization export

Show auxiliary data for the organization at the end
parent a47ef01d
Branches
Tags
No related merge requests found
......@@ -174,12 +174,12 @@ class Export {
array_values(array_map(
function ($f) { return $f->get('label'); }, $fields)));
$cdata += array('account_manager' => 'Account Manager', 'users' => 'Users');
ob_start();
echo self::dumpQuery($sql,
array(
'name' => 'Name',
'account_manager' => 'Account Manager',
'users' => 'Users'
) + $cdata,
$how,
array('modify' => function(&$record, $keys) use ($fields) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment