13 Oct
2003
13 Oct
'03
5:51 p.m.
According to the documentation* what you want is 'sort_expr='. I do however recommend you stop using DTML alltogether. Stefan *<http://zope.org/Documentation/Books/ZopeBook/2_6Edition/AppendixA.stx> --On Montag, 13. Oktober 2003 10:16 -0700 "D. Rick Anderson" <ruger@acsnv.com> wrote:
Is there a way to do a dynamic sort= on a dtml-in on a list of dictionaries?
like:
<dtml-call "REQUEST.set('sortby', 'firstname')">
<dtml-in "queryname_py" mapped sort=_['sortby']> etc...
-- The time has come to start talking about whether the emperor is as well dressed as we are supposed to think he is. /Pete McBreen/