X-Git-Url: https://scm.cri.minesparis.psl.eu/git/Portfolio.git/blobdiff_plain/011a53d5681ad1f5fa88a534ec041c93d3e7be95..7ac0ca74ce1435919f21b6a0e5b28ba40cf00780:/skins/getPhotosInfos.py

diff --git a/skins/getPhotosInfos.py b/skins/getPhotosInfos.py
index 69a2a13..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),
-			  20, pho_start, orphan=1, quantumleap=1, b_start_str='pho_start')
+			  context.default_batch_size, pho_start, orphan=5, quantumleap=1, b_start_str='pho_start')
 
 
 infos = []