X-Git-Url: https://scm.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/134afce3c7d900439de42bf8818422e8edbea01e..f50fc603d5861a70d4fd868dad307b6a058a4203:/Folder.py diff --git a/Folder.py b/Folder.py index e36dec8..0e3804f 100644 --- a/Folder.py +++ b/Folder.py @@ -269,16 +269,10 @@ class PlinnFolder(CMFCatalogAware, PortalFolder, DefaultDublinCoreImpl) : """ query catalog and returns brains of contents. Requires ExtendedPathIndex """ - #ctool = getToolByName(self, 'portal_catalog') ctool = getUtilityByInterfaceName('Products.CMFCore.interfaces.ICatalogTool') - #print ctool.absolute_url() contentFilter['path'] = {'query':'/'.join(self.getPhysicalPath()), 'depth':1} - try : - return ctool(sort_on='position', **contentFilter) - except : - return ctool(**contentFilter) - + return ctool(sort_on='position', **contentFilter) security.declarePublic('synContentValues') def synContentValues(self):