Forums / Setup & design / SubTreeArray[] search restriction not working
Sander van den Akker
Sunday 18 April 2010 9:18:29 am
Hi people! I'm trying to implement a subtree restriction when searching through one of my sites, but I can't get it to work. The form variable should be SubTreeArray[] according to kernel/content/search.php, but when set to a node, the eZ Find engine still searches the whole site.
Has anyone got a clue? Thanks in advance!
eZ Publish certified developer http://auth.ez.no/certification/verify/392313
Nicolas Pastorino
Monday 19 April 2010 12:48:52 am
Hi Sander,
With DebugOutput enabled, how does the params array passed to eZ Find look ? (it is dumped systematically)
Cheers,
-- Nicolas Pastorino Director Community - eZ Member of the Community Project Board eZ Publish Community on twitter: http://twitter.com/ezcommunity t : http://twitter.com/jeanvoye G+ : http://plus.tl/jeanvoye
Tuesday 20 April 2010 12:35:32 am
I found out the array was already declared in another template. Now it's working. Thanks for your help!
Tuesday 20 April 2010 8:24:29 am
That's good news!Cheers,