I have done a test on my site with your snippet call and my search is correctly limited to the children documents of the &parents parameter.
Could you precise which documents are found outside of the limited search area. Are they in the tree but deeper than the third level or outside of the tree ?
Otherwise could you try a more simple test like:
[!AjaxSearch? &parents=`53` &depth=`3` &ajaxSearch=`1` &moreResultsPage=`53` &showMoreResults=`1` &addJscript=`0` &extract=`0` &grabMax=`7` !] to use only ajasearch mode parameters.
Let me know the results.
Thanks, I tried your snippet to no avail. I have my search snippet defined in a template and I use the template for the document `53`. The search results returned are global to my tree document structure.
I have the following structure
Root
-->54
-->53
----> 369
----------> 454
-------------> 370
-------------> 371
If I run a search document `54` will also be searched, but I want only 369, 454,370 and 371.
Thanks for following up...
silly me.... I was using 1.6. I upgraded to AjaxSearch - version 1.7 and everything works fine now...
Thanks for your time
Hello,
I’m using the ajax request to load the results into the box below the search form. I styled it using #ajaxSearch_output; everything looks good on most of the browser. However under IE 7/6, the first time the search form is displayed, an empty result box is displayed under the search form. Is there a way to get rid of it the first time the search form is displayed?
Thank you.
Eric
-
☆ A M B ☆
- 24,524 Posts
I had this once... darn, can’t remember exactly what I did, but it was a styling issue. I have got to start making notes of all this stupid IE stuff I run into!