~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/database.py

  • Committer: Matt Giuca
  • Date: 2009-12-08 06:31:34 UTC
  • Revision ID: matt.giuca@gmail.com-20091208063134-c1412h9k4m0v2s24
database: Offering.get_members_by_role now sorts the data.

Show diffs side-by-side

added added

removed removed

Lines of Context:
391
391
                Enrolment.user_id == User.id,
392
392
                Enrolment.offering_id == self.id,
393
393
                Enrolment.role == role
394
 
                )
 
394
                ).order_by(User.login)
395
395
 
396
396
    @property
397
397
    def students(self):