Changeset 6630 for main/waeup.sirp/trunk/src/waeup
- Timestamp:
- 25 Aug 2011, 17:20:27 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/studentscontainerpage.pt
r6626 r6630 34 34 </tbody> 35 35 </table> 36 <br /> 36 37 </div> 37 38 </form> -
main/waeup.sirp/trunk/src/waeup/sirp/students/catalog.py
r6626 r6630 44 44 Text(('students_catalog', searchtype), query)) 45 45 else: 46 results = Query().searchResults( 47 Eq(('students_catalog', searchtype), query)) 46 # Temporary solution to display all students added 47 if query == '*': 48 from zope.component import queryUtility 49 from zope.catalog.interfaces import ICatalog 50 cat = queryUtility(ICatalog, name='students_catalog') 51 results = cat.searchResults(student_id=(None, None)) 52 else: 53 results = Query().searchResults( 54 Eq(('students_catalog', searchtype), query)) 48 55 for result in results: 49 56 hitlist.append(StudentQueryResultItem(result, view=view))
Note: See TracChangeset for help on using the changeset viewer.