Try:

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

hth

phil
[EMAIL PROTECTED]


----- Original Message -----
From: "michael angelo ruberto" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
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  -  [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 )


_______________________________________________
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 )

Reply via email to