Changeset 389 for WAeUP_SRP/trunk/skins/waeup_academics
- Timestamp:
- 18 Aug 2006, 06:49:13 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_academics/get_departments_voc.py
r313 r389 7 7 if key is None: 8 8 res = context.portal_catalog.search({'meta_type': "Department"}) 9 return [(d.getId ,d.Title,) for d in res]9 return [(d.getId(),d.Title,) for d in res] 10 10 res = context.portal_catalog.search({'meta_type': "Department", 'id': key}) 11 11 if res:
Note: See TracChangeset for help on using the changeset viewer.