Changeset 1500


Ignore:
Timestamp:
26 Feb 2007, 16:55:57 (18 years ago)
Author:
joachim
Message:

M skins/waeup_student/search_students.py
allow search for caseindependent jamb_reg_no
M skins/waeup_student/getStudyCourseInfo.py
fix typo

Location:
WAeUP_SRP/trunk/skins/waeup_student
Files:
2 edited

Legend:

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

    r1495 r1500  
    5555    wftool.doActionFor(context,'close_for_edit')
    5656student_review_state = context.getStudentReviewState()
    57 #may_register = 0 #1 or student_review_state in ('shool_fee_payed',)
    58 may_register = (student_review_state in ('shool_fee_paid',)) and\
     57may_register = (student_review_state in ('school_fee_paid',)) and\
    5958               current_level not in levels
    6059levels.sort()
  • WAeUP_SRP/trunk/skins/waeup_student/search_students.py

    r1479 r1500  
    161161        search_set = [r.id for r in res]
    162162    elif what == "jamb_reg_no":
    163         st = "%s" % term.strip().lower()
    164         res = context.students_catalog(jamb_reg_no=st)
     163        st_l = "%s" % term.strip().lower()
     164        st_u = "%s" % term.strip().upper()
     165        res = aq_students(In('jamb_reg_no',(st_l,st_u)))
    165166        search_set = [r.id for r in res]
    166167    elif what == "name":
Note: See TracChangeset for help on using the changeset viewer.