Changeset 1962
- Timestamp:
- 26 Jun 2007, 04:51:01 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_directory/search_members.py
r1958 r1962 31 31 #mapping['homeless'] = True 32 32 #result_fields = context.getDirectoryResultFields(dir.getId(), 33 # dir.title_field) 34 result_fields = [{'id': 'sn', 'title': 'Last name', 'sort': 'asc'}, 35 {'id': 'givenName', 'title': 'First name'}, 36 {'id': 'email', 'title': 'Email address'}, 37 {'id': id_field, 'title': 'User name'}, 33 # 34 id_field = getattr(dir, 'id_field', 'id') 35 result_fields = [{'id': 'sn', 'title': 'Last Name', 'sort': 'asc'}, 36 {'id': 'givenName', 'title': 'First Name'}, 37 {'id': 'email', 'title': 'Email Address'}, 38 {'id': id_field, 'title': 'User Name'}, 38 39 ] 39 40 if dir.getId() == "members": … … 107 108 return rendered, 'results' 108 109 109
Note: See TracChangeset for help on using the changeset viewer.