Changeset 664


Ignore:
Timestamp:
12 Oct 2006, 10:47:43 (18 years ago)
Author:
joachim
Message:

fixed searchStudents double display

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/searchStudents.py

    r663 r664  
    1919wf = context.portal_workflow
    2020catalog = context.portal_catalog
    21 student_wf_states = wf.waeup_student_wf.states.keys()
    22 info['wf_states'] = student_wf_states
    23 info['wf_states'][0] = " ----- "
     21#student_wf_states = wf.waeup_student_wf.states.keys()
     22#info['wf_states'] = student_wf_states
     23#info['wf_states'][0] = " ----- "
    2424lt = context.portal_layouts
    2525pr = context.portal_registration
     
    114114            student = r.getObject()
    115115        student_rs = wf.getInfoFor(student,'review_state','keiner')
    116         if with_review and student_rs != state:
     116        if (with_review and student_rs != state) or student in items:
    117117            continue
    118118        items.append(student)
Note: See TracChangeset for help on using the changeset viewer.