[Zope] dtml_with question
Casey Duncan
cduncan@kaivo.com
Tue, 27 Mar 2001 09:49:30 -0700
Sven Fischer wrote:
>
> hello,
>
> i would like to select the n most recent items from diffenrent folders, how
> can i do that ?
>
> i can do it in one folder, using object_creation_date to sort items in one
> folder, but how could i do it in multiple folers at the same time (something
> like JOIN in sql language)
>
> thx
>
> $ven
>
You need to use a ZCatalog with an index on bobobase_modification_time.
Then catalog the objects in the folders and query it.
--
| Casey Duncan
| Kaivo, Inc.
| cduncan@kaivo.com
`------------------>