[Zope] sorting a catalog - order

Jan Lentfer Jan.Lentfer@web.de
Thu, 20 Sep 2001 20:17:42 +0200


At 11:13 20.09.2001 -0700, Kevin Lewandowski wrote:
>This is probably really easy but I can't find it anywhere in the
>docs. I can iterate over a catalog just fine, sorted, for
>example:
>
><dtml-in Catalog sort_by=bobobase_modification_time>
>  ...
></dtml-in>
>
>But how do I sort in reverse order?
>
>thanks much
>
>-Kevin
>


That would be

<dtml-in Catalog sort_by=bobobase_modification_time sort_order=reverse>
  ...
</dtml-in>

Jan@Mountainbikehq.de
http://www.MountainbikeHQ.de - Your home for DH, DS and CC Mountainbiking