- Timestamp:
- 16 Nov 2006, 14:21:44 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/get_searchable_student_states.py
r874 r875 18 18 voc = context.portal_vocabularies.searchable_student_states 19 19 20 if key is None: 21 return voc.items() 22 return voc.get(key) 20 if key is not None: 21 return voc.get(key) 22 if "ClearanceOfficers" in member.getGroups(): 23 return [item for item in voc.items() if item[0].startswith('clear')] 24 return voc.items() 23 25 24 26
Note: See TracChangeset for help on using the changeset viewer.