[Radiant] How do you confine a search to a certain page and its children?

Todd McGrath mcgrath at supergloo.com
Wed Dec 6 09:47:03 CST 2006


> Mike Moscow wrote:
> > I'm using the search behavior modified by john for ruby-lang. How would I
> go
> > about restricting the search to just a certain page and it children. So
> that it
> > could only return results from that page and its children.
> 
> As that behavior just does a "like" query on the pages and page_parts 
> table there is not an easy way to constrain it. You may be able to 
> modify it to discard any matches that do not have a certain page in 
> their ancestors, but I don't know of any way to make this happen with sql.
> 

I'm interested in restricted search results as well.  Please post back to the
list if you come up with some ideas.   I'll do the same.

Todd M



More information about the Radiant mailing list