[Zope] sort_order???

Phil Harris phil.harris@zope.co.uk
Tue, 6 Jun 2000 23:35:22 +0100


Try:

<dtml-in table-1 sort=date reverse>

hth

phil
phil.harris@zope.co.uk


----- Original Message -----
From: "michael angelo ruberto" <michaelangelo@intelligenesis.net>
To: <extranet@intelligenesis.net>
Cc: <zope@zope.org>
Sent: 06 June 2000 23:18
Subject: [Zope] sort_order???


> hello,
>
> ok, here is my code:
>
> <dtml-in table-1 sort=date>
>
> <a href="<dtml-var URL>"><dtml-var name></a> | <dtml-var value> |
<dtml-var
> URL> | <dtml-var attendee> | <dtml-var date><br>
> </dtml-in>
>
> what's wrong - nothing, it works fine. however, the result is sorted by
date
> ascending and i need it to be reversed. i found a reference to an
attribute
> "sort_order" which can be given an arg such as "sort_order=reverse". the
> problem here is that it won't work and i can't find any usage info on
> "sort_order". it isn't mentioned in the DTML Reference and after hours of
> searching the Zope website i am empty handed. does anyone know how to use
> this? thanks in advance.
>
> -<mike>-
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> 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 )