projects
/
Plinn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Huge Plinn Folder est le type de dossier pour « Members ».
[Plinn.git]
/
Folder.py
diff --git
a/Folder.py
b/Folder.py
index
e36dec8
..
0e3804f
100644
(file)
--- a/
Folder.py
+++ b/
Folder.py
@@
-269,16
+269,10
@@
class PlinnFolder(CMFCatalogAware, PortalFolder, DefaultDublinCoreImpl) :
""" query catalog and returns brains of contents.
Requires ExtendedPathIndex
"""
""" query catalog and returns brains of contents.
Requires ExtendedPathIndex
"""
- #ctool = getToolByName(self, 'portal_catalog')
ctool = getUtilityByInterfaceName('Products.CMFCore.interfaces.ICatalogTool')
ctool = getUtilityByInterfaceName('Products.CMFCore.interfaces.ICatalogTool')
- #print ctool.absolute_url()
contentFilter['path'] = {'query':'/'.join(self.getPhysicalPath()),
'depth':1}
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):
security.declarePublic('synContentValues')
def synContentValues(self):