[Zope] question how to access ZCatalog with python

Dieter Maurer dieter@handshake.de
Fri, 29 Mar 2002 11:53:16 +0100


Robert Rottermann writes:
 > I have a catalog with a path- and a field index called path and page_type.
 > in python I call them like this
 > brains = Catalog({'path' : path, 'page_type':'personpage'})
 > 
 > Now I would expect that only records fulfilling both conditions would be
 > returned. However all that mach the first condition are selected.
 > 
 > Could somebody tell me where my assumption is wrong,and what remedy is
 > appropriate.
It should work (as you expect).
Are you sure, there is no typo or similar bug?


Dieter