Changeset 3477 for WAeUP_SRP/base
- Timestamp:
- 1 May 2008, 05:43:35 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/Academics.py
r3438 r3477 789 789 790 790 def getCourseEntry(self,cid): 791 res = self.portal_catalog({'meta_type': "Course", 792 'id': cid}) 791 res = self.courses_catalog({'code': cid}) 793 792 if res: 794 793 return res[-1] … … 803 802 #print self.id, self.aq_parent.id 804 803 if ce: 805 return "%s" % ce. Title804 return "%s" % ce.title 806 805 return "No such course" 807 806
Note: See TracChangeset for help on using the changeset viewer.