[Zope] sorting based on object url
Oleg Broytmann
Oleg Broytmann <phd@mail2.phd.pp.ru>
Wed, 14 Mar 2001 12:52:50 +0300 (MSK)
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.