Index: WAeUP_SRP/base/skins/waeup_academics/getCertificatesDict.py
===================================================================
--- WAeUP_SRP/base/skins/waeup_academics/getCertificatesDict.py	(revision 3342)
+++ WAeUP_SRP/base/skins/waeup_academics/getCertificatesDict.py	(revision 3346)
@@ -3,6 +3,4 @@
 """
 Return the certificates as dictionary
-
-"""
 
 try:
@@ -11,19 +9,17 @@
     def set_trace():
         pass
+"""
 
-if key is None:
-    res = context.portal_catalog.search({'meta_type': "Certificate"})
-    dict = {}
-   
-    for d in res:
-        c = d.getObject().getContent()
-        if not hasattr(c,'study_mode'):
-            continue
-        dict[d.getId] = (c.title,c.study_mode)
-    #set_trace()    
-    return dict
+res = context.portal_catalog.search({'meta_type': "Certificate"})
+dict = {}
 
-res = context.portal_catalog.search({'meta_type': "Certificate", 'id': key})
-if res:
-    return res[0].Title
-raise KeyError
+for d in res:
+    c = d.getObject().getContent()
+    if not hasattr(c,'study_mode'):
+        continue
+    #dict[d.getId] = (c.title,c.study_mode)
+    dict[d.getId] = {'title': c.title,
+                     'study_mode': c.study_mode,
+                     }
+return dict
+
