[Zope-CMF] Searching only in a subfolder
Jens Vagelpohl
jens@zope.com
Sat, 10 Nov 2001 16:03:28 -0500
jan,
there is such a thing as a path-index in the CMF catalog. every object is
indexed by its path in there. when you pass in the path of your object it
will only return all those matches that have all those path elements as
well.
jens
On Saturday, November 10, 2001, at 11:39 , Jan Torben Heuer wrote:
> Hi, hope you can help me although this problem doesn't seem to be CMF
> specific:
>
> I want to modify the news_box Method. It should only search beginning at
> a
> special folder. However I couldn't find a parameter, that fit my needs in
> the
> Zope API reference. I think it must be possible because the searchCatalog
> method shouldn't find news in other portals running at that host.
>
> thanks,
>
> JT
> --
>