I was doing something unrelated; I found that dtml-let to get request parameters into ~~ordinary zope variables~~ helped. At 15:20 13/07/01 +0200, Benoit DOMINIAK wrote:
No, it doesn't work either...
From: Gitte Wange <gitte@mmmanager.org> To: benoit.dominiak@makinacorpus.com CC: zope@zope.org Subject: Re: [Zope] Choice of the sorting key of a dtml-in tag Date: Fri, 13 Jul 2001 15:14:42 +0200
On Friday 13 July 2001 15:03, you wrote:
Hi again,
I'd like to make a page with a list of my Zclass instances and to be able to sort them by different key. I tryed with this code :
<dtml-if "REQUEST.has_key('skey')"> <dtml-else> <dtml-call "REQUEST.set('skey', 'bobobase_modification_time reverse')"> </dtml-if> <dtml-in "objectValues(['article'])" size=3 sort=skey start=query_start>
But it doesn't work : instances are not sorted correctly...
Any idea ?
<snip>