X-Git-Url: https://scm.cri.mines-paristech.fr/git/Portfolio.git/blobdiff_plain/9248642bfe5d2fb7ce5116b8aa916e4cb4bdd845..5e46a54e179d7011976c89886f0a1ecca1b46f20:/skins/getPhotosInfos.py?ds=sidebyside diff --git a/skins/getPhotosInfos.py b/skins/getPhotosInfos.py index 00cd295..1679c40 100755 --- a/skins/getPhotosInfos.py +++ b/skins/getPhotosInfos.py @@ -22,7 +22,7 @@ if mtool.checkPermission(ReviewPortalContent, context) : req = context.REQUEST pho_start = req.get('pho_start', 0) batch = Batch(portfolio.listNearestFolderContents(contentFilter={'portal_type' : ['Photo']}, sorted=True), - 50, pho_start, orphan=5, quantumleap=1, b_start_str='pho_start') + context.default_batch_size, pho_start, orphan=5, quantumleap=1, b_start_str='pho_start') infos = []