From: Benoît Pin Date: Mon, 1 Nov 2010 22:16:28 +0000 (+0100) Subject: Passage de la taille du batch de photos de 20 à 50, avec 5 d'orphelins. X-Git-Url: https://scm.cri.mines-paristech.fr/git/Portfolio.git/commitdiff_plain/9248642bfe5d2fb7ce5116b8aa916e4cb4bdd845?hp=e87a4304c87e48062ef0790ecc8f55098c5184b7 Passage de la taille du batch de photos de 20 à 50, avec 5 d'orphelins. --- diff --git a/skins/getPhotosInfos.py b/skins/getPhotosInfos.py index 69a2a13..00cd295 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), - 20, pho_start, orphan=1, quantumleap=1, b_start_str='pho_start') + 50, pho_start, orphan=5, quantumleap=1, b_start_str='pho_start') infos = []