From 44a031fc5c489b3b3362c12e3e5ed84dee26b1cc Mon Sep 17 00:00:00 2001 From: Peter Rotich <peter@osticket.com> Date: Mon, 28 Apr 2014 18:55:14 +0000 Subject: [PATCH] Change the order of organization export Show auxiliary data for the organization at the end --- include/class.export.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/class.export.php b/include/class.export.php index e0da0906b..a3335a2e2 100644 --- a/include/class.export.php +++ b/include/class.export.php @@ -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) { -- GitLab