[Zope] sorting SQL results with dtml-in - not working

Oleg Broytmann Oleg Broytmann <phd@phd.pp.ru>
Fri, 28 Jun 2002 23:25:39 +0400


On Fri, Jun 28, 2002 at 11:07:05AM -0700, Kelley, Sean wrote:
> <dtml-in list_all_records sort="<dtml-var order> reverse" size=10
> start=query_start>
> 
> For whatever reason, I am getting weird results. I am still pretty weak at
> dtml so I am not seeing why.

   Because you should not nes DTML inside DTML. What is inside "" must be
Python.

<dtml-in list_all_records sort="order" reverse size=10 start=query_start>

Oleg.
-- 
     Oleg Broytmann      http://www.zope.org/Members/phd/      phd@email.ru
           Programmers don't die, they just GOSUB without RETURN.