Index: /main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants/export.py
===================================================================
--- /main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants/export.py	(revision 16620)
+++ /main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants/export.py	(revision 16621)
@@ -41,5 +41,14 @@
         ))) + (
         'password', 'state', 'history', 'container_code', 'application_number',
-        'display_fullname', 'application_date')
+        'display_fullname', 'application_date', 'dept',)
+
+    def mangle_value(self, value, name, context=None):
+        if name == 'dept' and context is not None:
+            course_admitted = getattr(context, 'course_admitted', None)
+            if course_admitted is not None:
+                value = course_admitted.__parent__.__parent__.code
+        return super(
+            CustomApplicantExporter, self).mangle_value(
+            value, name, context=context)
 
 class CustomApplicantRefereeReportExporter(ApplicantRefereeReportExporter):
