Back to index

plone3  3.1.7
catalog.py
Go to the documentation of this file.
00001 
00002 
00003 def reindexOnModify(content, event):
00004     """When an object is modified, re-index it in the catalog
00005     """
00006     
00007     if event.object is not content:
00008         return
00009         
00010     content.reindexObject(idxs=getattr(event, 'descriptions', []))