Changeset 16028 for main/waeup.kofa/trunk/src/waeup/kofa/utils
- Timestamp:
- 6 Mar 2020, 20:40:04 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/utils/browser.py
r12620 r16028 26 26 from waeup.kofa.interfaces import IUniversity 27 27 from waeup.kofa.university.interfaces import IDepartment, ICertificate 28 from waeup.kofa.utils.helpers import reindex_cat 28 29 29 30 def replaceStudentMessages(old, new): … … 85 86 self.context.logger.info( 86 87 'Catalog `%s_catalog` re-indexing started.' % ctlg) 87 cat.updateIndexes() 88 # Use Uli's updateIndexes method. 89 # cat.updateIndexes() 90 reindex_cat(cat) 88 91 no_of_entries = cat.values()[0].documentCount() 89 92 self.flash('%d %s re-indexed.' % (no_of_entries,ctlg))
Note: See TracChangeset for help on using the changeset viewer.