- Timestamp:
- 22 Dec 2011, 07:39:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/vocabularies.py
r7350 r7434 58 58 result = catalog.searchResults( 59 59 application_category=(appcat,appcat)) 60 result = sorted(result, key=lambda value: value.code) 60 61 curr_course = context.course1 61 62 if curr_course is not None and curr_course not in result: … … 63 64 # (any more) 64 65 result = [curr_course,] + result 65 return sorted(result, key=lambda value: value.code)66 return result
Note: See TracChangeset for help on using the changeset viewer.