Skip to content
Snippets Groups Projects
Commit 44a031fc 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 154e6445
No related branches found
No related tags found
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.
Finish editing this message first!
Please register or to comment