[Zope] sorting based on object url

Tino Wildenhain tino@wildenhain.de
Wed, 14 Mar 2001 15:51:23 +0100


Hi Oleg,


try sort_expr="catalog.getpath(data_record_id_)" instead.

Regards
Tino

Oleg Broytmann wrote:
> 
> On Tue, 13 Mar 2001, Parikh, Jay wrote:
> > I have a simple ZCatalog that I am trying to sort via the path of the
> > objects.  I have the following so far, and it doesn't seem to work.
> >
> > <dtml-in catalog sort="catalog.getpath(data_record_id_)" size=50
> > start=query_start>
> 
>    Which way it does not wor? May be you need sort_expr instead of sort?
> 
> Oleg.
> ----
>      Oleg Broytmann     http://www.zope.org/Members/phd/     phd@phd.pp.ru
>            Programmers don't die, they just GOSUB without RETURN.
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )