diff --git a/product/ERP5Catalog/CatalogTool.py b/product/ERP5Catalog/CatalogTool.py index f09cec1b205831a700a8747c091b3e1ff78f697a..7f66b5f21cdd65308331c830d34e70077217a8e2 100644 --- a/product/ERP5Catalog/CatalogTool.py +++ b/product/ERP5Catalog/CatalogTool.py @@ -524,8 +524,8 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject): # We use a string for permissions here due to circular reference in import # from ERP5Type.Permissions - security.declareProtected('Search ZCatalog', 'getObject') - def getObject(self, query=None, **kw): + security.declareProtected('Search ZCatalog', 'getResultValue') + def getResultValue(self, query=None, **kw): """ A method to factor common code used to search a single object in the database.