From 9248642bfe5d2fb7ce5116b8aa916e4cb4bdd845 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Beno=C3=AEt=20Pin?= Date: Mon, 1 Nov 2010 23:16:28 +0100 Subject: [PATCH 1/1] =?utf8?q?Passage=20de=20la=20taille=20du=20batch=20de?= =?utf8?q?=20photos=20de=2020=20=C3=A0=2050,=20avec=205=20d'orphelins.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- skins/getPhotosInfos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = [] -- 2.20.1