Changeset 1251
- Timestamp:
- 9 Jan 2007, 18:10:22 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/getStudentStatistics.py
r1248 r1251 21 21 except: 22 22 evalAdvancedQuery = None 23 #from Products.zdb import set_trace;set_trace()24 23 logger.info('"%s","invoked statistics"' % context.portal_membership.getAuthenticatedMember()) 25 24 l = [] … … 28 27 dep = {} 29 28 dep['id'] = "All" 30 total = len(context.students_catalog()) 29 #total = len(context.students_catalog()) 30 freshmen = aq_portal(Eq('portal_type','Student') \ 31 & Le('created',context.ZopeTime("2006/12/20"))) 32 total = len(freshmen) 31 33 dep['students'] = total 34 #from Products.zdb import set_trace;set_trace() 32 35 cpe_res = context.portal_catalog(review_state ='clearance_pin_entered') 33 36 cpe_ids = [r.getId for r in cpe_res]
Note: See TracChangeset for help on using the changeset viewer.