X-Git-Url: https://svn.cri.ensmp.fr/git/Portfolio.git/blobdiff_plain/b7206bf3b2e6b8d380e30e646c366beed91b88b2..7e38e85702295952deaaf04fda5bb44dd2550524:/skins/selectioncontext.py?ds=sidebyside diff --git a/skins/selectioncontext.py b/skins/selectioncontext.py index 8539a4e..df3e63b 100644 --- a/skins/selectioncontext.py +++ b/skins/selectioncontext.py @@ -2,7 +2,6 @@ from Products.CMFCore.utils import getToolByName from Products.Portfolio.utils import translate def _(message) : return translate(message, context).encode('utf-8') -bsize = 20 options = {} uidh = getToolByName(context, 'portal_uidhandler') @@ -16,6 +15,7 @@ portalDepth = len(portal.getPhysicalPath()) req = context.REQUEST toUrl = req.physicalPathToURL resp = req.RESPONSE +bsize = portal.getProperty('default_batch_size', 20) if traverse_subpath[-1] == 'photo_view_ajax' : photoSubPath = traverse_subpath[:-1]