Changeset 599 for WAeUP_SRP/trunk


Ignore:
Timestamp:
29 Sep 2006, 16:53:44 (18 years ago)
Author:
joachim
Message:

some fixes it should now work as documented

File:
1 edited

Legend:

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

    r596 r599  
    5555term = ds.get('search_string')
    5656err = False
    57 if not term and what in ('student_edit','jamb_id','name','matric_no'):
     57with_review = state != "all"
     58if not term and not with_review:
    5859    psm = "You must specify a search string when searching in 'All States'"
    5960    err = True
     
    7374portal_type_query = {'query':['Student','StudentApplication','StudentPersonal']}
    7475st_queries = ('jamb_id','matric_no','name')
    75 onlyreview = with_review and not what
     76onlyreview = with_review and not term
    7677if onlyreview:
    7778    res = catalog(portal_type=portal_type_query,
Note: See TracChangeset for help on using the changeset viewer.