Commit c51bc36f authored by Ayush Tiwari's avatar Ayush Tiwari

erp5_catalog: Use reindexObject from BaseTool class

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