[Zope-CMF] patch: CMFDecor skin folder_contents.py

Joseph Wayne Norton norton@alum.mit.edu
Wed, 19 Sep 2001 12:36:49 +0900


I believe the previous/next batching for the folder_contents skin is
not correct.

How about this patch?

- joe n.


===================================================================
RCS file: /cvs-repository/CMF/CMFDecor/skins/zpt_generic/folder_contents.pt,v
retrieving revision 1.8
diff -r1.8 folder_contents.pt
113c113
<           tal:attributes="href string:folder_contents?b_start=${p/previous/first}">Previous Items</a>
---
>           tal:attributes="href string:folder_contents?b_start=${p/first}">Previous Items</a>
120c120
<         tal:attributes="href string:folder_contents?b_start=${batch1/end}">Next Items</a>
---
>         tal:attributes="href string:folder_contents?b_start=${n/first}">Next Items</a>