Commit ec7e3fdd authored by Ayush Tiwari's avatar Ayush Tiwari

erp5_catalog: Refactoring function definition for getERP5Catalog

parent ce07a348
......@@ -379,10 +379,10 @@ class CatalogTool (ZCatalog, CMFCoreCatalogTool, BaseTool):
"""
Get ERP5 Catalog Ids
"""
self.objectIds(spec=('ERP5 Catalog',))
return self.objectIds(spec=('ERP5 Catalog',))
security.declarePublic('getERP5Catalog')
def getERP5Catalog(self):
def getERP5Catalog(self, id=None, default_value=None):
"""
Get current ERP5 Catalog
"""
......
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