Hi everybody,
 
I've worked on it for 2 weeks and can't find the answer...
I've got a form where you can select some parameters and search (with ZCatalog) for them in my ZClass instances. Everything was perfect until I tryed to use ZCatalog Query to perform "or" search.

<dtml-call "REQUEST.set('results', Catalog.query('type == ``Support de vente`` or physique == ``Book``',))"> works but this is not what I wanted...

Error Type: NameError        Error Value: type

I've even try with a python script :
ret=context.Catalog.query('physique == ``Book`` or type == typ')
return ret
ERROR getitem (typ)
 
How can I do ? Please help me...
 
Benoit.