Changeset 8029 for WAeUP_SRP


Ignore:
Timestamp:
3 Apr 2012, 16:59:43 (13 years ago)
Author:
Henrik Bettermann
Message:

Fix returning student statistics.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_statistics/getRetStudentStatistics.py

    r3774 r8029  
    9898    dict['id'] = f.getId
    9999    dict['title'] = f.Title
    100     res_ft = context.students_catalog(entry_session = entry_sessions, faculty = f.getId, mode = full_time)
     100    res_ft = context.students_catalog(entry_session = entry_sessions, faculty = f.getId, mode = full_time, review_state = ret_states)
    101101    dict['total_ft'] = len(res_ft)
    102     res_pt = context.students_catalog(entry_session = entry_sessions, faculty = f.getId, mode = part_time)
     102    res_pt = context.students_catalog(entry_session = entry_sessions, faculty = f.getId, mode = part_time, review_state = ret_states)
    103103    dict['total_pt'] = len(res_pt)
    104     res_dp = context.students_catalog(entry_session = entry_sessions, faculty = f.getId, mode = diploma)
     104    res_dp = context.students_catalog(entry_session = entry_sessions, faculty = f.getId, mode = diploma, review_state = ret_states)
    105105    dict['total_dp'] = len(res_dp)   
    106106    for state in ret_states:
Note: See TracChangeset for help on using the changeset viewer.