Ignore:
Timestamp:
16 Mar 2008, 08:38:39 (17 years ago)
Author:
Henrik Bettermann
Message:

resolve ticket #507

Now we need a fix which replaces current_mode of all students by the certificate study_mode value.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_academics/getDepartmentsVoc.py

    r3254 r3339  
    66"""
    77if key is None:
    8     res = context.portal_catalog.search({'meta_type': "Department"})   
     8    res = context.portal_catalog.search({'meta_type': "Department"})
    99    return [(d.getId(),d.Title,) for d in res]
    1010res = context.portal_catalog.search({'meta_type': "Department", 'id': key})
    1111if res:
    12     return res[-1].Title
     12    return res[0].Title
    1313
    1414raise KeyError
Note: See TracChangeset for help on using the changeset viewer.