[Zope] How to suppress aquisition of an attribute in a Catalog

Jens Wolk jewo_lists@gmx.de
Fri, 19 Apr 2002 13:57:20 +0200


Am Donnerstag, 18. April 2002 21:38 schrieb Jens Wolk:

> In a catalog I created a field index 'folderAttribute'. Now, if I search
> the catalog for objects with folderAttribute = 'it is me!', the result set
> contains the AContent object, too, because it aquires the attribute from
> the containing AFolder object.
>
> Is there a way to suppress this behavior 

oh my dear, the answer is so obvious: extend the search in the catalog with 
Type='Whatever the type of myFolder is' ...

Yours. Jens Wolk