X-Git-Url: https://svn.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/3e0a2c257d49fb162da9c70d2f70194036235166..4e31549f317ab0f4816129265d6dde20626fc416:/skins/generic/batch_macros.pt

diff --git a/skins/generic/batch_macros.pt b/skins/generic/batch_macros.pt
index f5dedc1..78fd9f7 100644
--- a/skins/generic/batch_macros.pt
+++ b/skins/generic/batch_macros.pt
@@ -8,12 +8,12 @@
 <div class="listingBar"
      metal:define-macro="navigation"
      tal:define="request request|here/request|container/request|nothing;
-                 form python:request.form.copy();
+                 form form|request/form/copy;
                  dummy python:form.has_key('ajax') and form.pop('ajax');
                  batch batch|nothing;
                  mq python:modules['ZTUtils'].make_query;
                  mpq python:lambda fv,pn=-1 : mq(fv, {batch.b_start_str : pn * (batch.size - batch.overlap) - batch.size}) ;
-                 url python:request.get('URL0');
+                 url python:options.get('batchBaseUrl', request.get('URL0'));
                  currentpage batch/pagenumber;"
      tal:attributes="id navBatchBarId|nothing"
      tal:condition="python: batch.next or  batch.previous"