X-Git-Url: https://scm.cri.ensmp.fr/git/photoprint.git/blobdiff_plain/bddfc31eaf67003a04f79f7cf168b8d840920fd6..44f565f34f5cdf8c0a67ee0190b47473ae7377f2:/skins/order_list.py?ds=sidebyside diff --git a/skins/order_list.py b/skins/order_list.py index 37a0e4c..2635e58 100755 --- a/skins/order_list.py +++ b/skins/order_list.py @@ -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)