Refactoring : déplacement des méthodes spécifiques à l'affichage de l'interface utili...
[Plinn.git] / skins / generic / search_results_template.pt
index 9532dc4..006a2bd 100644 (file)
@@ -11,7 +11,7 @@
                           stext request/SearchableText|nothing;
                           resultsLength options/resultsLength;
                           Batch python:modules['Products.Plinn'].Batch;
                           stext request/SearchableText|nothing;
                           resultsLength options/resultsLength;
                           Batch python:modules['Products.Plinn'].Batch;
-                          batch python:Batch(results, 20, b_start, orphan=1, quantumleap=1);
+                          batch python:Batch(results, here.default_batch_size, b_start, orphan=1, quantumleap=1);
                           mch nocall:options/makeColumnHeader">
       <h2 i18n:translate="">Search Results</h2>
       <div tal:condition="resultsLength" tal:omit-tag="">
                           mch nocall:options/makeColumnHeader">
       <h2 i18n:translate="">Search Results</h2>
       <div tal:condition="resultsLength" tal:omit-tag="">