Changeset 622 for WAeUP_SRP/trunk/skins
- Timestamp:
- 8 Oct 2006, 14:46:25 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 6 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_academics/searchAcademics.py
r611 r622 29 29 'search_string': '' 30 30 } 31 choosen_ids = request.get('ids',[]) 31 32 32 33 rend,psm,ds = lt.renderLayout(layout_id= 'academics_search', … … 44 45 objects = items, 45 46 is_manager = is_manager, 47 choosen_ids = choosen_ids, 46 48 ) 47 what = ds.get('search_mode')48 state = ds.get('review_state')49 term = ds.get('search_string')50 if not term and not with_review:51 return context.academics_search_view(rendered = rend,52 psm = "You must specify a search string",53 #psm = "%s, %s" % (psm,ds),54 objects = items,55 is_manager = is_manager,56 )57 with_review = state != "all"58 49 what = ds.get('search_mode') 59 50 state = ds.get('review_state') … … 73 64 students = items, 74 65 is_manager = is_manager, 66 choosen_ids = choosen_ids, 75 67 ) 76 68 with_review = state != "all" … … 106 98 objects = objects, 107 99 is_manager = is_manager, 108 choosen_ids = []100 choosen_ids = choosen_ids, 109 101 ) -
WAeUP_SRP/trunk/skins/waeup_student/searchStudents.py
r608 r622 73 73 onlyreview = with_review and not term 74 74 if onlyreview: 75 res = catalog(portal_type= 'Student',75 res = catalog(portal_type=portal_type_query, 76 76 review_state=state) 77 77 elif what == "student_id": … … 95 95 if with_review: 96 96 try: 97 res = catalog(portal_type= 'Student',SearchableText=st,97 res = catalog(portal_type=pt,SearchableText=st, 98 98 review_state=state) 99 99 except:
Note: See TracChangeset for help on using the changeset viewer.