[Pkg-zope-developers] Bug#309428: Patch for this problem

Paolo Alexis Falcone Paolo Alexis Falcone <pfalcone@gmail.com>, 309428@bugs.debian.org
Tue, 17 May 2005 15:31:46 +0800


Hereunder is the patch to solve this bug (as lifted from the zope-cvs
commit logs). I've tested this on my two servers and it just works:

--- Zope/trunk/lib/python/Shared/DC/ZRDB/dtml/customDefaultReport.dtml=0920=
05-05-05
10:09:20 U
TC (rev 30246)
+++ Zope/trunk/lib/python/Shared/DC/ZRDB/dtml/customDefaultReport.dtml=0920=
05-05-05
10:35:03 U
TC (rev 30247)
@@ -3,7 +3,7 @@
=20
       <dtml-if previous-sequence>=20
=20
-        <a href=3D"&dtml-URL;?query_start=3D&dtml-previous-sequence-start-=
number;&query=3D<dtml-v
ar query url_quote> ">
+        <a href=3D"&dtml-URL;&dtml-sequence-query;query_start=3D&dtml-prev=
ious-sequence-start-n
umber;">=20
         (Previous <dtml-var previous-sequence-size>  results)
         </a>=20
=20
@@ -22,8 +22,7 @@
       %(else no_table)[</table> %(else)]
=20
       <dtml-if next-sequence>=20
-         <a href=3D"&dtml-URL;?query_start=3D&dtml-next-sequence-start-num=
ber;&query=3D<dtml-var
query url_quote> ">
-
+        <a href=3D"&dtml-URL;&dtml-sequence-query;query_start=3D&dtml-next=
-sequence-start-numbe
r;">=20
          (Next <dtml-var next-sequence-size>  results)
          </a>=20
--=20
Paolo Alexis Falcone
pfalcone@gmail.com