Skip to content
Snippets Groups Projects
Commit dfee8299 authored by Jared Hancock's avatar Jared Hancock
Browse files

Merge pull request #813 from protich/issue/org-data-export


Change the order of organization data export

Reviewed-By: default avatarJared Hancock <jared@osticket.com>
parents a47ef01d 44a031fc
Branches
Tags
No related merge requests found
...@@ -174,12 +174,12 @@ class Export { ...@@ -174,12 +174,12 @@ class Export {
array_values(array_map( array_values(array_map(
function ($f) { return $f->get('label'); }, $fields))); function ($f) { return $f->get('label'); }, $fields)));
$cdata += array('account_manager' => 'Account Manager', 'users' => 'Users');
ob_start(); ob_start();
echo self::dumpQuery($sql, echo self::dumpQuery($sql,
array( array(
'name' => 'Name', 'name' => 'Name',
'account_manager' => 'Account Manager',
'users' => 'Users'
) + $cdata, ) + $cdata,
$how, $how,
array('modify' => function(&$record, $keys) use ($fields) { 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