Le dico « methods » qu'on pouvait mettre dans le __init__.py d'un produit n'est plus...
[Plinn.git] / skins / content / list_pending_contents.pt
index 04ea27f..2c0ae52 100644 (file)
@@ -19,7 +19,7 @@
                                                                        arrow python:test(sorted_dir=='up', 'arrowUp.gif', 'arrowDown.gif');
                                                              sortedItems python: here.sort_folder_contents(items, sorted_field, sorted_dir);
                     Batch python:modules['Products.Plinn'].Batch;
                                                                        arrow python:test(sorted_dir=='up', 'arrowUp.gif', 'arrowDown.gif');
                                                              sortedItems python: here.sort_folder_contents(items, sorted_field, sorted_dir);
                     Batch python:modules['Products.Plinn'].Batch;
-                    batch python:Batch(sortedItems, 50, request.get('b_start', 0), orphan=0)">
+                    batch python:Batch(sortedItems, here.default_batch_size, request.get('b_start', 0), orphan=0)">
     <h2 i18n:translate="">Pending documents</h2>
     <div metal:use-macro="here/batch_macros/macros/navigation">batch navigation</div>
     <table class="listing" cellspacing="0">
     <h2 i18n:translate="">Pending documents</h2>
     <div metal:use-macro="here/batch_macros/macros/navigation">batch navigation</div>
     <table class="listing" cellspacing="0">