Sorting a list descending using dtml-in
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
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?
<dtml-in thelist sort=date reverse> Oleg. (All opinions are mine and not of my employer) ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.
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 - alet@unice.fr - 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
participants (3)
-
Jerome Alet -
Oleg Broytmann -
Pieter Claerhout