Changeset 3482 for WAeUP_SRP/base/skins/waeup_academics
- Timestamp:
- 1 May 2008, 05:54:53 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_academics/getCoursesInfo.py
r2633 r3482 18 18 return 1 19 19 return -1 20 20 21 21 22 22 … … 33 33 info['choosen_ids'] = request.get('ids',[]) 34 34 info['doc'] = context.getContent() 35 res = context.portal_catalog(meta_type="Department",id = dep_id)36 info['courses'] = []37 if not res:38 return info39 brain = res[-1]40 cp = brain.getPath()41 info['container_path'] = cp35 #res = context.portal_catalog(meta_type="Department",id = dep_id) 36 #info['courses'] = [] 37 #if not res: 38 # return info 39 #brain = res[-1] 40 #cp = brain.getPath() 41 #info['container_path'] = cp 42 42 info['dep_id'] = dep_id 43 43
Note: See TracChangeset for help on using the changeset viewer.