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 = []
start = req.get('b_start', 0)
brains = [uidh.getBrain(uid) for uid in context.uids]
-batch = Batch(brains, 20, start, orphan=1, quantumleap=1)
+batch = Batch(brains, context.default_batch_size, start, orphan=1, quantumleap=1)
hereUrl = context.absolute_url()
cart = sd.get('cart', None)
start = req.get('b_start', 0)
brains = [uidh.getBrain(uid) for uid in selection]
-batch = Batch(brains, 20, start, orphan=1, quantumleap=1)#, b_start_str='pho_start')
+batch = Batch(brains, context.default_batch_size, start, orphan=1, quantumleap=1)#, b_start_str='pho_start')
cart = req.SESSION.get('cart', None)
infos = []