[Zope-dev] dtml-in attr request: rsort

Andrew Lahser andrew@apl-software.com
25 Feb 2000 02:59:10 -0000


There is already a "reverse" attribute, how would
rsort differ from this?

Drew

Jeff Bauer <jbauer@rubic.com> said: 

> Hi all.
> 
> In my DocumentTemplate presentations, I frequently
> want to display items in reverse order.  For example,
> dated items in reverse chronological sequence -- most
> recent to least recent.
> 
> I usually create an inverse attribute so the items
> will display in the desired order.  This occurs
> often enough that I'd like to request a new dtml-in
> tag attribute: rsort.  
> 
> This feature would be trivial to implement and
> shouldn't add any additional complexity to the 
> current interface.  Thoughts?
> 
> Jeff Bauer
> Rubicon Research
> 
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )
> 
>