- Timestamp:
- 21 May 2019, 09:16:47 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r15405 r15417 263 263 form = self.request.form 264 264 self.hitlist = [] 265 if form.get('searchtype', None) in ('suspended', TRANSREQ, TRANSVAL): 265 if form.get('searchtype', None) in ( 266 'suspended', TRANSREQ, TRANSVAL, GRADUATED): 266 267 self.searchtype = form['searchtype'] 267 268 self.searchterm = None … … 305 306 form = self.request.form 306 307 self.hitlist = [] 307 if form.get('searchtype', None) in ('suspended', TRANSREQ, TRANSVAL): 308 if form.get('searchtype', None) in ( 309 'suspended', TRANSREQ, TRANSVAL, GRADUATED): 308 310 self.searchtype = form['searchtype'] 309 311 self.searchterm = None … … 374 376 self.context.addStudent(student) 375 377 IWorkflowState(student).setState(GRADUATED) 378 notify(grok.ObjectModifiedEvent(student)) 376 379 self.flash(_('Student record created.')) 377 380 self.redirect(self.url(self.context[student.student_id], 'index'))
Note: See TracChangeset for help on using the changeset viewer.