[Zope] sorting SQL results with dtml-in - not working
Kelley, Sean
SKelley@ci.santa-rosa.ca.us
Mon, 1 Jul 2002 08:32:38 -0700
Thanks!!
This works-
<dtml-in list_all_records sort_expr=order reverse size=10 start=query_start>
> -----Original Message-----
> From: Oleg Broytmann [mailto:phd@phd.pp.ru]
> Sent: Friday, June 28, 2002 11:27 PM
> To: Kelley, Sean
> Cc: 'zope@zope.org'
> Subject: Re: [Zope] sorting SQL results with dtml-in - not working
>
>
> On Fri, Jun 28, 2002 at 01:32:28PM -0700, Kelley, Sean wrote:
> > Tried this change but I still do not get correct sorting.
> Like I said,
> > every time you click to sort, the results are always different.
> >
> >
> > <dtml-in list_all_records sort="order" reverse size=10
> start=query_start>
>
> Hmm... try
>
> <dtml-in list_all_records sort_expr=order reverse size=10
> start=query_start>
>
> This *evalute* "order" before sorting.
>
> Oleg.
> --
> Oleg Broytmann http://www.zope.org/Members/phd/
> phd@email.ru
> Programmers don't die, they just GOSUB without RETURN.
>