Changeset 2442


Ignore:
Timestamp:
26 Oct 2007, 15:53:17 (17 years ago)
Author:
Henrik Bettermann
Message:

filter carry over courses correctly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/WAeUPTables.py

    r2439 r2442  
    13421342            data['level_id'] = level_id
    13431343            session_id = self.getLevelSession(level.getContent(),student_id,level_id)
    1344             data['session_id'] = session_id 
     1344            data['session_id'] = session_id
    13451345            #data['queue_status'] = OBJECT_CREATED
    13461346            data['code'] = course_id
     
    13671367            id = code = d['id'] = brain.code
    13681368            is_carry_over = False
    1369             if code.endswith('_co'):
     1369            if brain.carry_over:
    13701370                is_carry_over = True
    1371                 code = code[:-3]
     1371                #code = code[:-3]
    13721372            d['code'] = code
    13731373            d['title'] = self.courses_catalog.evalAdvancedQuery(Eq('code',code))[0].title
Note: See TracChangeset for help on using the changeset viewer.