[Zope] #in & reverse sort + size
Evan Simpson
evan@tokenexchange.com
Wed, 15 Sep 1999 09:58:15 -0500
I ran into a similar problem, and "solved" it by putting in a dummy start
clause. I think 'size' is not meant to be used independently of 'start'.
Try this:
<!--#in "objectValues(['Folder', 'DTML Document'])" sort=id reverse size=5
start=0-->
'start' is supposed to be a variable name, not a number, but this works
anyway <shrug>.
----- Original Message -----
From: Achim Gorski <achimg@obelix.cologne.sgi.com>
> I've a folder containing 7 DTML Documents. The construct below should
> print 5 title/id, but Zope-2.0.0 displays all seven?! If I include one
> more DTML Document, only 5 title/id are shown!
> Why is the correct number shown with 8 documents but not with 7
documents??
>
>
> <!--#in "objectValues(['Folder', 'DTML Document'])" sort=id reverse
size=5 -->