[Zope] Sorting a list descending using dtml-in

2000-07-04 Thread Pieter Claerhout

Hello,

if I'm iterating over a list using the dtml-in tag, is it then possible
to sort the items descending?


Pieter

Pieter Claerhout
Application Support - CreoScitex Europe


___
Zope maillist  -  [EMAIL PROTECTED]
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 )




RE: [Zope] Sorting a list descending using dtml-in

2000-07-04 Thread Pieter Claerhout

Seems to work fine in Zope 2.1.6...

Pieter


-Original Message-
From: Jerome Alet [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 04, 2000 3:48 PM
To: Pieter Claerhout
Cc: '[EMAIL PROTECTED]'
Subject: Re: [Zope] Sorting a list descending using dtml-in


On Tue, 4 Jul 2000, Pieter Claerhout wrote:

 if I'm iterating over a list using the dtml-in tag, is it then possible
 to sort the items descending?

IIRC:

!-- UNTESTED --
dtml-in mylist sort=id reverse
/dtml-in

bye,

Jerome ALET - [EMAIL PROTECTED] - http://cortex.unice.fr/~jerome
Faculte de Medecine de Nice - http://noe.unice.fr - Tel: 04 93 37 76 30 
28 Avenue de Valombrose - 06107 NICE Cedex 2 - FRANCE

___
Zope maillist  -  [EMAIL PROTECTED]
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 )