Commit 6f521dad authored by Ayush Tiwari's avatar Ayush Tiwari

erp5_catalog: Update getERP5CatalogIdList to return string IDS instead of OIBTree items

parent f4585637
......@@ -407,7 +407,8 @@ class ERP5CatalogTool (BaseTool, ZCatalog, CMFCoreCatalogTool):
"""
Get ERP5 Catalog Ids
"""
return self.objectIds(spec=('ERP5 Catalog',))
id_list = [l for l in self.objectIds(spec=('ERP5 Catalog',))]
return id_list
security.declarePublic('getERP5Catalog')
def getERP5Catalog(self, id=None, default_value=None):
......
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