Hi ! I'm using the in-tag to iterate over a data set. I have used the following variables to navigate through the data: <!--#var previous-sequence-start-number--> <!--#var previous-sequence-size--> <!--#var next-sequence-start-number--> <!--#var next-sequence-size--> That worked fine ! Till now :( For some reason it's not working on three of our servers. The variables give wrong results and as a result the created links lead to wrong entries. I'm using : Zope 1.10.2 (source release, python 1.5.1, linux2), on Python 1.5.2 (#4, Jul 26 1999, 16:56:10) [GCC 2.7.2.1] on linux2 Here's the whole relevant source: <!--#in DP_Search_Results previous size=batch_size start=query_start--> <a href="<!--#var URL--><!--#var sequence-query-->query_start=<!--#var previous-sequence-start-number-->">(last <!--#var previous-sequence-size--> entries)</a> <!--#/in--> <!--#in DP_Search_Results next size=batch_size start=query_start--> <a href="<!--#var URL--><!--#var sequence-query-->query_start=<!--#var next-sequence-start-number-->">(next <!--#var next-sequence-size--> entries)</a> <!--#/in--> Any help would be appreciated, Bye, Alex
Alexander Schad wrote:
Hi ! I'm using the in-tag to iterate over a data set. I have used the following variables to navigate through the data: <!--#var previous-sequence-start-number--> <!--#var previous-sequence-size--> <!--#var next-sequence-start-number--> <!--#var next-sequence-size-->
That worked fine ! Till now :( For some reason it's not working on three of our servers. The variables give wrong results and as a result the created links lead to wrong entries.
Are you using Python 1.5.2 or 1.5.1? If you using Zope 1.10.x, you must use P1.5.1. P1.5.2 will cause this problem you are seeing. -Michel
participants (2)
-
Alexander Schad -
Michel Pelletier