Changeset 15741 for main/waeup.kofa


Ignore:
Timestamp:
2 Nov 2019, 06:42:34 (5 years ago)
Author:
Henrik Bettermann
Message:

Use new helper function to reindex beds catalog.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/hostels/hostel.py

    r15715 r15741  
    3232from waeup.kofa.interfaces import IKofaUtils, IKofaPluggable
    3333from waeup.kofa.interfaces import MessageFactory as _
    34 from waeup.kofa.utils.helpers import now
     34from waeup.kofa.utils.helpers import now, reindex_cat
    3535
    3636class Hostel(grok.Container):
     
    349349                    '%s: bed_id index added to beds_catalog.'
    350350                    % self.log_prefix)
    351                 cat.updateIndexes()
     351                reindex_cat(cat)
    352352                logger.info(
    353353                    '%s: beds_catalog updated.'
Note: See TracChangeset for help on using the changeset viewer.