[Zope] question how to access ZCatalog with python

Robert Rottermann robert@redcor.ch
Mon, 25 Mar 2002 23:31:21 +0100


Hi there,

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.

Thank you

Robert

www.redcor.ch