Ignore:
Timestamp:
16 Nov 2005, 23:30:12 (19 years ago)
Author:
joachim
Message:

=eligibility edit geht fast

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup_product/trunk/skins/waeup_faculty/get_faculties_voc.py

    r173 r182  
    55
    66"""
    7 academics = context.sections.portal.academics
     7academics = context.portal_catalog(id = 'academics')[-1].getObject()
    88items = [i for i in context.filterContents(items=academics.contentValues()) if i.portal_type == 'Faculty']
    9 if key is None:
     9context.REQUEST.set('items', items)
     10context.REQUEST.set('key', key)
     11if not key:
    1012    return [(f.getId(),f.title_or_id(),) for f in items]
    1113return [f.title_or_id() for f in items if f.getId() == key][0]
Note: See TracChangeset for help on using the changeset viewer.