Ignore:
Timestamp:
16 Nov 2005, 16:44:13 (19 years ago)
Author:
joachim
Message:

=post-primary results adding

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup_product/trunk/skins/waeup_default/getWAeUPSchemas.py

    r176 r179  
    415415        },
    416416    },
     417     'username': {
     418        'type': 'CPS String Field',
     419        'data': {
     420            'is_searchabletext': 1,
     421        },
     422    },
    417423     'email': {
    418424        'type': 'CPS String Field',
     
    443449###)
    444450
     451student_eligibility = { ###(
     452}###)
     453
    445454student_documents = { ###(
    446455     'photo': {
     
    478487
    479488student_eligibility = { ###(
    480      'firstname': {
    481         'type': 'CPS String Field',
    482         'data': {
    483             'is_searchabletext': 1,
    484         },
    485     },
    486     'middlename': {
    487         'type': 'CPS String Field',
    488         'data': {
    489             'is_searchabletext': 1,
    490         },
    491     },
    492      'lastname': {
    493         'type': 'CPS String Field',
    494         'data': {
    495             'is_searchabletext': 1,
    496         },
    497     },
    498      'username': {
    499         'type': 'CPS String Field',
    500         'data': {
    501             'is_searchabletext': 0,
    502         },
    503     },
    504      'sex': {
    505         'type': 'CPS Boolean Field',
    506         'default_expr': 'python:True',
    507         'data': {
    508             'is_searchabletext': 0,
    509         },
    510     },
    511 ##     'birthday': {
    512 ##        'type': 'CPS DateTime Field',
    513 ##        'data': {
    514 ##            'is_searchabletext': 1,
    515 ##        },
    516 ##    },
    517      'age': {
     489    'reg_nr': {
     490        'type': 'CPS String Field',
     491        'data': {
     492            'default_expr': 'string:',
     493            'is_searchabletext': True,
     494        },
     495    },
     496    'jamb_results': {
     497        'type': 'CPS String Field',
     498        'data': {
     499            'default_expr': 'string:',
     500        },
     501    },
     502    'jamb_aggregate': {
     503        'type': 'CPS String Field',
     504        'data': {
     505            'default_expr': 'string:',
     506            'is_searchabletext': False,
     507        },
     508    },
     509    'faculty': {
     510        'type': 'CPS String Field',
     511        'data': {
     512            'default_expr': 'string:',
     513            'is_searchabletext': False,
     514        },
     515    },
     516    'course': {
     517        'type': 'CPS String Field',
     518        'data': {
     519            'default_expr': 'string:',
     520            'is_searchabletext': False,
     521        },
     522    },
     523    'jamb_listing_date': {
    518524        'type': 'CPS DateTime Field',
    519525        'data': {
    520             'is_searchabletext': 0,
    521         },
    522     },
    523     'email': {
    524         'type': 'CPS String Field',
    525         'data': {
    526             'is_searchabletext': 1,
    527         },
    528     },
    529     'pw': {
    530         'type': 'CPS String Field',
    531         'data': {
    532             'default_expr': 'string:default',
    533         },
    534     },
    535     'rpw': {
    536         'type': 'CPS String Field',
    537         'data': {
    538             'default_expr': 'string:default',
    539         },
    540     },
    541 ##     'photo': {
    542 ##        'type': 'CPS Image Field',
    543 ##        'data': {
    544 ##            'is_searchabletext': 0,
    545 ##        },
    546 ##    },
    547 ##     'birth_certificate': {
    548 ##        'type': 'CPS Image Field',
    549 ##        'data': {
    550 ##            'is_searchabletext': 0,
    551 ##        },
    552 ##    },
     526            'is_searchabletext': False,
     527        },
     528    },
     529    'schoolresults': { ###(
     530        'type': 'CPS List List Field',
     531        'data': {
     532            'is_searchabletext': False,
     533            },
     534        },###)
    553535}
    554536###)
     
    887869schemas['student_admission'] = student_admission
    888870schemas['student_clearance'] = student_clearance
     871schemas['student_eligibility'] = student_eligibility
    889872schemas['student_documents'] = student_documents
    890 schemas['student_eligibility'] = student_eligibility
    891873schemas['student_accommodation'] = student_accommodation
    892874schemas['student_hostel_fee'] = student_hostel_fee
Note: See TracChangeset for help on using the changeset viewer.