Commit d37edf52 authored by Ayush Tiwari's avatar Ayush Tiwari

erp5_catalog: Change name of reindexObject method to use it as a new method...

erp5_catalog: Change name of reindexObject method to use it as a new method for CatalogTool inside ERP5
parent ee15b3c7
...@@ -823,8 +823,8 @@ class CatalogTool (CopyContainer, ZCatalog, CMFCoreCatalogTool, BaseTool): ...@@ -823,8 +823,8 @@ class CatalogTool (CopyContainer, ZCatalog, CMFCoreCatalogTool, BaseTool):
return ImplicitAcquisitionWrapper(w, aq_parent(document_object)) return ImplicitAcquisitionWrapper(w, aq_parent(document_object))
security.declarePrivate('reindexObject') security.declarePrivate('reindexCatalogObject')
def reindexObject(self, object, idxs=None, sql_catalog_id=None,**kw): def reindexCatalogObject(self, object, idxs=None, sql_catalog_id=None,**kw):
'''Update catalog after object data has changed. '''Update catalog after object data has changed.
The optional idxs argument is a list of specific indexes The optional idxs argument is a list of specific indexes
to update (all of them by default). to update (all of them by default).
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment