[Zope-CMF] Catalog question

Gitte Wange gitte@mmmanager.org
Wed, 20 Jun 2001 17:47:18 +0200


Hello,

What do I do if I want to find objects of a specific meta type in a folder 
and it's subfolders ???

Can I put some sort of restriction in portal_catalog.searchResults ?

I had thought on some like (untested):
<dtml-in "Folder.objectValues()">
 <dtml-in "portal_catalog.searchResults(metatype='My Meta Type')">
Some code here
 </dtml-in>
</dtml-in>

But will this restrict the catalog to only look in this folder and it's 
subfolders ?

Regards,