Having some issues with &parents. The following snippet doesn’t restrict the search to the first level of document 47, still does a global, its probably something obvious but can’t see it myself:
[!AjaxSearch? &ajaxSearch=`0` &AS_landing=`91` &AS_showResults=`0` &parents=`47` &depth=`1`!]
The snippet on doc 91 is the same, but with &AS_showForm=`0`. Thinking about it, out of interest, which snippet call determines how the search is done, the form one or the landing page one? I usually just copy and paste one to the other, and tweak the &showresults parameter.
Any ideas?
Cheers
Thanks for the info, useful to know.
This is the snippet from the landing page:
[!AjaxSearch? &ajaxSearch=`0` &AS_landing=`91` &highlightResult=`0` &AS_showForm=`0` &parents=`47` &depth=`1`!]
It’s definitely not restricting searches. Basically doc 47 is an events holder (each event has a separate doc, within 47), but when I search I can see the home page in results. Is there any reason it’ll be ignoring the parents param?
Cheers
I’m bumping this as I’m back on this now, does anyone know of ANY reason why &parents=`ID` would be ignored?