[Zope] #in & reverse sort + size

Achim Gorski Achim Gorski <gorski@sgi.com>
Wed, 15 Sep 1999 14:10:36 +0200 (CEST)


Hello Zope users!

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??

Thanks for your advice.

- Achim


<!--#in "objectValues(['Folder', 'DTML Document'])"  sort=id reverse size=5 -->
<!--#if "meta_type == 'DTML Document'"-->
  <strong> <!--#var title_or_id--></strong>
<!--#/if-->
<!--#/in-->

-- 
  Silicon Graphics GmbH    |  Email: Achim Gorski <gorski@sgi.com>
 Frankfurter Str. 720-726  |  Phone: +49-2203-9312-24
  D-51145 Koeln, Germany   |  VM   : +330-8891
   Mail-Stop:  IDE-3160    |  Fax  : +49-2203-9312-20