Changeset 1845 for WAeUP_SRP/trunk/skins/waeup_directory
- Timestamp:
- 2 Jun 2007, 11:01:49 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_directory/search_members.py
r953 r1845 11 11 12 12 from Products.CPSDirectory.BaseDirectory import SearchSizeLimitExceeded 13 from Products.AdvancedQuery import Eq, Between, Le,In 14 aq_portal = context.portal_catalog.evalAdvancedQuery 13 15 try: 14 from Products.AdvancedQuery import Eq, Between, Le,In 15 evalAdvancedQuery = context.portal_catalog.evalAdvancedQuery 16 aq_portal = context.portal_catalog.evalAdvancedQuery 16 17 except: 17 evalAdvancedQuery = None18 aq_portal = context.portal_catalog_real.evalAdvancedQuery 18 19 19 20 datamodel = datastructure.getDataModel() … … 80 81 query = In('portal_type',('Faculty','Department')) &\ 81 82 In('localUsersWithRoles',('user:%s' % user_id,)) 82 res = evalAdvancedQuery(query)83 res = aq_portal(query) 83 84 facs = [] 84 85 roles = []
Note: See TracChangeset for help on using the changeset viewer.