projects
/
photoprint.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bugfix : reduce sur une liste d'un élément provoque des effets de bords.
[photoprint.git]
/
skins
/
order_list.py
diff --git
a/skins/order_list.py
b/skins/order_list.py
index
37a0e4c
..
2635e58
100755
(executable)
--- a/
skins/order_list.py
+++ b/
skins/order_list.py
@@
-89,7
+89,7
@@
def beforeGetItem(item) :
info['customer'] = item.Creator()
return info
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)
options['orders'] = orders
return context.order_list_template(**options)