[Zope] problem with querying a catalog

robert rottermann robert at redcor.ch
Thu Aug 26 00:52:11 EDT 2004


you do not indicate whath index to use for the path.
Robert

Henny van der Linde wrote:
> Hi,
> 
> I have some trouble querying  a catalog.
> 
> This DTML works. It get's only the edf objects in the path.
> 
> <dtml-in expr="dfcatalog(meta_type='edf',
> 
> path='/avin/literatuur/antroposofische_literatuur/artikelendatabase/ms')">
>         <a href="&dtml-absolute_url;"><dtml-var title></a>
> </dtml-in>
> 
> This Python script doesn't work. It returns ALL the edf objects on the site.
> 
> zcat=container.dfcatalog
> results=zcat({'query' :
> '/avin/literatuur/antroposofische_literatuur/artikelendatabase/ms','meta_typ
> e':'edf'})
> 
> Thoughts?
> 
> Henny
> 
> 
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
> 
> 


More information about the Zope mailing list