Cesar A. K. Grossmann writes:
 > I'm using a report that must return one instance by page, but it's not
 > working very well... If the query returns more than one result, Zope
 > presents only two pages. I'm using Zope 2.1.6 in a Linux box.
What does is mean: "presents only two pages"?
  Probably, you get wrong navigation elements.
This would be due to a bug for "<dtml-in size=1>".

There is a patch for this at


In fact, the patch does more (allows for uniform navigation elements at
both start and end of sequence batch).
There was an announcement in this list around June 10, 2000.

AFAIK, the patch is integrated into Zope 2.2.

 > Here are a excerpt of the dtml code used:
 > <dtml-in
 >      sqlQuery
 >      size=1
 >      orphan=1
 >      ....
You should use "orphan=0". "orphan=1" allows for one "orphan" to be
moved, i.e. you may get 2 records on a page.


Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to