Ignore:
Timestamp:
29 Sep 2006, 14:14:40 (18 years ago)
Author:
joachim
Message:

student search should work now as follows:

if All States is selected a search string must be specified.
if another review state is specified, the searchstring can be empty.
if it is not empty, both are ANDed.

Location:
WAeUP_SRP/trunk/profiles/default
Files:
2 edited
2 moved

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/default/layouts/student_search.xml

    r587 r596  
    1717  <property name="hidden_layout_modes"/>
    1818  <property name="hidden_readonly_layout_modes"/>
    19   <property name="vocabulary">searchable_review_states_voc</property>
     19  <property name="vocabulary">searchable_student_states</property>
    2020 </widget>
    2121 <widget name="search_mode" meta_type="Generic Select Widget">
     
    2424   <element value="search_mode"/>
    2525  </property>
     26  <property name="is_required">True</property>
    2627  <property name="label">Search for</property>
    2728  <property name="label_edit">Search for</property>
     
    2930  <property name="hidden_layout_modes"/>
    3031  <property name="hidden_readonly_layout_modes"/>
    31   <property name="vocabulary">search_mode_voc</property>
     32  <property name="vocabulary">student_search_mode</property>
    3233  <property name="render_format">radio</property>
    3334 </widget>
  • WAeUP_SRP/trunk/profiles/default/vocabularies.xml

    r584 r596  
    1616 <object name="exam_types" meta_type="CPS Vocabulary"/>
    1717 <object name="pin_prefixes" meta_type="CPS Vocabulary"/>
    18  <object name="search_mode_voc" meta_type="CPS Vocabulary"/>
    19  <object name="searchable_review_states_voc" meta_type="CPS Vocabulary"/>
     18 <object name="student_search_mode" meta_type="CPS Vocabulary"/>
     19 <object name="searchable_student_states" meta_type="CPS Vocabulary"/>
     20 <object name="academics_search_mode" meta_type="CPS Vocabulary"/>
     21 <object name="searchable_academics_states" meta_type="CPS Vocabulary"/>
    2022 </object>
  • WAeUP_SRP/trunk/profiles/default/vocabularies/searchable_student_states.xml

    r585 r596  
    55 <property name="description"></property>
    66 <property name="acl_write_roles">Manager</property>
     7 <item key="all" msgid="">All States</item>
    78 <item key="admission_applied " msgid="">Applied for Admission</item>
    89 <item key="created" msgid="">Data Imported</item>
  • WAeUP_SRP/trunk/profiles/default/vocabularies/student_search_mode.xml

    r587 r596  
    99 <item key="matric_no" msgid="">Matriculation Number</item>
    1010 <item key="jamb_id" msgid="">Jamb Id</item>
    11  <item key="review_state" msgid="">Review State</item>
    1211</object>
Note: See TracChangeset for help on using the changeset viewer.