and all readmes and all mails and what I found using keyword "pathindex" on Zope and the source (but only briefly) To state my question again: I have objects in "portal_url" /Documents ny code: results=[] catalog=context.portal_catalog query={'path':'Document'} if query: results=catalog(REQUEST=query) I tried an assortment of path variations and added a 'level'=-1 (and variations) However the result is alway empty. (some 30 objects should be returned) Robert ----- Original Message ----- From: "Andreas Jung" <lists@andreas-jung.com> To: "Robert Rottermann" <robert@redcor.ch>; <zope@zope.org> Sent: Sunday, August 11, 2002 9:48 AM Subject: Re: [Zope] Pathindex; nedd help!
Did you check the documentation of the PathIndex in the ZopeBook?
-aj ----- Original Message ----- From: "Robert Rottermann" <robert@redcor.ch> To: <zope@zope.org> Sent: Saturday, August 10, 2002 22:31 Subject: [Zope] Pathindex; nedd help!
Hi there, I am trying to use a pathindex to return all documents in a given folder. Can anybody please give me an example how to do this. All my attempts are in vain so far.
thanks
Robert I am using v2.51
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )