Changeset 5567
- Timestamp:
- 14 Oct 2010, 06:10:25 (14 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/default/layouts/student_study_level.xml
r4394 r5567 15 15 <property name="label">Session</property> 16 16 <property name="label_edit">Session</property> 17 <property name="readonly_layout_modes"/> 17 <property name="readonly_layout_modes"> 18 <element value="edit"/> 19 <element value="create"/> 20 </property> 18 21 <property name="hidden_layout_modes"/> 19 22 <property name="hidden_readonly_layout_modes"/> -
WAeUP_SRP/trunk/skins/waeup_student/admitStudents.py
r5563 r5567 38 38 39 39 if not entry_session: 40 entry_session = context.getSessionId()[0] 40 brains = aq_applicants(In('status',('admitted'),)) 41 else: 42 brains = aq_applicants(In('status',('admitted'),) & Eq('entry_session',entry_session)) 41 43 42 brains = aq_applicants(In('status',('admitted'),) & Eq('entry_session',entry_session))43 44 total = len(brains) 44 45 logger.info("found %d students" % (total))
Note: See TracChangeset for help on using the changeset viewer.