From e27f02f822923d76c8d18ae1320bb95d80721254 Mon Sep 17 00:00:00 2001 From: aydreeihn <adriane@enhancesoft.com> Date: Fri, 29 Jun 2018 11:04:11 -0500 Subject: [PATCH] Issue: Agent Export Department Status This commit changes the Agent export to display (disabled) beside the name of Departments on the export if they are Archived or Disabled. This will help Agents determine if an Agent is not assigned to any active Departments. --- include/class.export.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class.export.php b/include/class.export.php index 3a47bcc94..63c9d48a9 100644 --- a/include/class.export.php +++ b/include/class.export.php @@ -254,7 +254,7 @@ class Export { $filename = $filename ?: sprintf('Agents-%s.csv', strftime('%Y%m%d')); Http::download($filename, "text/$how"); - $depts = Dept::getDepartments(); + $depts = Dept::getDepartments(null, true, Dept::DISPLAY_DISABLED); echo self::dumpQuery($agents, array( '::getName' => 'Name', '::getUsername' => 'Username', -- GitLab