"Patrick J.M. Keane" wrote:
> 
> Does sort only sort in one direction?  I am looking to sort news items
> so that the newest items are on top, and when sorting on a date field,
> I get the opposite behaviour.  Any easy way to reverse the sort order?

Yes, by adding reverse to the sort tag ;-)

<dtml-in <sortablelist> sort=<sorting_variable> reverse>


Rik

_______________________________________________
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