Changeset 622 for WAeUP_SRP/trunk/skins/waeup_academics
- Timestamp:
- 8 Oct 2006, 14:46:25 (18 years ago)
- File:
-
- 1 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 )
Note: See TracChangeset for help on using the changeset viewer.