Changeset 755 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
26 Oct 2006, 09:29:20 (18 years ago)
Author:
Henrik Bettermann
Message:

search for student review_states included

File:
1 edited

Legend:

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

    r751 r755  
    1717except:
    1818    evalAdvancedQuery = None
    19    
     19
    2020request = context.REQUEST
    2121form = request.form
     
    2626                      "StudentAccommodation",
    2727                      "StudentStudyLevel",)
     28
     29student_objects = student_subobjects + ("Student",)
     30
    2831info = {}
    2932items = []
     
    109112if with_review:
    110113    query_step += 10
    111     review_res = evalAdvancedQuery(In('portal_type',student_subobjects) & Eq('review_state',state))
     114    review_res = evalAdvancedQuery(In('portal_type',student_objects) & Eq('review_state',state))
    112115search_set = []
    113116if res:
Note: See TracChangeset for help on using the changeset viewer.