Changeset 3819


Ignore:
Timestamp:
16 Dec 2008, 07:09:43 (16 years ago)
Author:
Henrik Bettermann
Message:

resolve ticket Schools #5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_ois/getStudyLevelInfo.py

    r3811 r3819  
    137137    info['gpa'] = "%4.2f" % (float(gpa)/int(total_credits))
    138138
    139 # carry_overs.sort(cmp_semester_id)
    140139info['carry_overs'] = carry_overs
    141 # normal.sort(cmp_semester_id)
     140normal1.sort(cmp=lambda x,y: cmp( x['title'],y['title']))
     141normal2.sort(cmp=lambda x,y: cmp( x['title'],y['title']))
     142normal3.sort(cmp=lambda x,y: cmp( x['title'],y['title']))
     143
    142144info['normal1'] = normal1
    143145info['normal2'] = normal2
Note: See TracChangeset for help on using the changeset viewer.