[Zope] Batchsize looping problem
Peter Bengtsson
mail@peterbe.com
Wed, 2 May 2001 14:47:49 +0200
> Peter Bengtsson wrote:
> >
> > Why is it that sometimes batch sizing doesn't work??
> >
> > <dtml-in "eatcatalog.objectValues(['DTML Document'])" reverse size=5>
> > This returns the same as...
> > <dtml-in "eatcatalog.objectValues(['DTML Document'])" reverse>
> > ...would do.
>
> Perhaps you're getting bitten by the implicit default value of orphan=3?
> This really sucks, IMNSHO, but no-one seems to want to change it :-S
Cheers!
I was lazy before when I searched the mailing list.
Adding orphan=0 helped.
<dtml-in "eatcatalog.objectValues(['DTML Document'])" reverse size=5>
!=
<dtml-in "eatcatalog.objectValues(['DTML Document'])" reverse size=5
orphan=0>
DC, people! This causes a lot of confusion :)
> cheers,
>
> Chris
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )