Commit 78b0b8cb authored by Ayush Tiwari's avatar Ayush Tiwari

erp5_catalog: Use reindexObject from BaseTool class

parent d37edf52
......@@ -325,6 +325,10 @@ class CatalogTool (CopyContainer, ZCatalog, CMFCoreCatalogTool, BaseTool):
def __init__(self):
ZCatalog.__init__(self, self.getId())
# Use reindexObject method from BaseTool class and declare it public
reindexObject = BaseTool.reindexObject
security.declarePublic('reindexObject')
# Explicit Inheritance
__url = CMFCoreCatalogTool.__url
manage_catalogFind = CMFCoreCatalogTool.manage_catalogFind
......@@ -1121,4 +1125,5 @@ class CatalogTool (CopyContainer, ZCatalog, CMFCoreCatalogTool, BaseTool):
return src
InitializeClass(CatalogTool)
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