Ignore:
Timestamp:
9 Nov 2011, 15:32:53 (13 years ago)
Author:
Henrik Bettermann
Message:

Add current_session to students_catalog indexes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/students/student.py

    r6859 r7062  
    7575        return cert
    7676
     77    @property
     78    def current_session(self):
     79        cert = getattr(self.get('studycourse', None), 'current_session', None)
     80        return cert
     81
    7782# Set all attributes of Student required in IStudent as field
    7883# properties. Doing this, we do not have to set initial attributes
Note: See TracChangeset for help on using the changeset viewer.