Index: /main/kofacustom.dspg/trunk/src/kofacustom/dspg/applicants/export.py
===================================================================
--- /main/kofacustom.dspg/trunk/src/kofacustom/dspg/applicants/export.py	(revision 16689)
+++ /main/kofacustom.dspg/trunk/src/kofacustom/dspg/applicants/export.py	(revision 16690)
@@ -42,5 +42,22 @@
         ))) + (
         'password', 'state', 'history', 'container_code', 'application_number',
-        'display_fullname', 'application_date')
+        'display_fullname', 'application_date', 'faculty', 'department')
+
+    def mangle_value(self, value, name, context=None):
+        """
+        """
+        if name == 'certificate' and value is not None:
+            value = value.code
+        if name == 'department':
+            cert = getattr(context, 'certificate')
+            if cert is not None:
+                value = cert.__parent__.__parent__.code
+        if name == 'faculty':
+            cert = getattr(context, 'certificate')
+            if cert is not None:
+                value = cert.__parent__.__parent__.__parent__.code
+        return super(
+            CustomApplicantExporter, self).mangle_value(
+            value, name, context=context)
 
 class CustomApplicantPaymentExporter(ApplicantPaymentExporter):
