]> CRI, Mines Paris - PSL - photoprint.git/blobdiff - skins/order_list.py
localisation
[photoprint.git] / skins / order_list.py
index 37a0e4c90d576073027311fb3e400cf9e68e242a..2635e584d8b4e62c2457c7ee3feab987ab0cde48 100755 (executable)
@@ -89,7 +89,7 @@ def beforeGetItem(item) :
                info['customer'] = item.Creator()
        return info
        
-orders = Batch(orders, 40, b_start, orphan=0, quantumleap=1, before_getitem=beforeGetItem)
+orders = Batch(orders, context.default_batch_size, b_start, orphan=0, quantumleap=1, before_getitem=beforeGetItem)
 options['orders'] = orders
 
 return context.order_list_template(**options)