]> CRI, Mines Paris - PSL - Portfolio.git/blobdiff - skins/getPhotosInfos.py
RĂ©-introduction des images en preview local. Limitation du nombre d'images locales...
[Portfolio.git] / skins / getPhotosInfos.py
index 69a2a13e6a157c60f8cdaabf02208cfe9e699225..1679c40aa776345475f8264614799f67f3e91514 100755 (executable)
@@ -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 = []