Changeset 9933 for main/waeup.kofa/trunk/src/waeup
- Timestamp:
- 4 Feb 2013, 13:32:49 (12 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r9925 r9933 2822 2822 if mode == 'all': 2823 2823 mode = None 2824 job_id = self.context.start_export_job(exporter, 2825 self.request.principal.id, 2826 current_session=session, 2827 current_level=level, 2828 current_mode=mode, 2829 depcode=self.depcode, 2830 certcode=self.certcode) 2824 if (mode, level, session, 2825 self.depcode, self.certcode) == (None, None, None, None, None): 2826 # Export all students including those without certificate 2827 job_id = self.context.start_export_job(exporter, 2828 self.request.principal.id) 2829 else: 2830 job_id = self.context.start_export_job(exporter, 2831 self.request.principal.id, 2832 current_session=session, 2833 current_level=level, 2834 current_mode=mode, 2835 depcode=self.depcode, 2836 certcode=self.certcode) 2831 2837 ob_class = self.__implemented__.__name__.replace('waeup.kofa.','') 2832 2838 self.context.logger.info( -
main/waeup.kofa/trunk/src/waeup/kofa/students/export.py
r9925 r9933 109 109 110 110 students_catalog is the default catalog. The keys must be valid 111 atalog index names.111 catalog index names. 112 112 Returns a simple empty list, a list with `Student` 113 113 objects or a catalog result set with `Student`
Note: See TracChangeset for help on using the changeset viewer.