We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23515
    • 40 Posts
    Using v 1.81, on my results page is:

    Search results in Blog:
    [!AjaxSearch? &ajaxSearch=`0` &AS_showForm=`0` &parents=`58` !]

    Search results in News:
    [!AjaxSearch? &ajaxSearch=`0` &AS_showForm=`0` &parents=`22` !]

    Search results in videos:
    [!AjaxSearch? &ajaxSearch=`0` &AS_showForm=`0` &parents=`17` !]

    for some reason, they all do a global search, rather than limiting to just the specific area. It doesn’t appear to be an issue with there being multiple calls either, tried removing the last two, the top one still does a global search. Anyone see anything stupid in my call that I’m missing/has any suggestions?
      • 15083
      • 697 Posts
      Guys this seems to be the same problem for me.
      Setting &parents seems to do nothing, all documents are searched?

      Is there another parameter that is needed to make this work?
      This is my call:

      [!AjaxSearch? &debug=`1` &ajaxSearch=`0` &highlightResult=`0` &AS_landing=`60` &AS_showResults=`0` &parents=`31,40` &depth=`2`!]

      The above searches all documents on the site, but I want the search restricted to 31, 40?
      Is this a bug or we missing something?
        • 5811
        • 1,717 Posts
        Which release of ajaxSearch do you use ?
          • 15083
          • 697 Posts
          Hi there,

          My (our) bad.
          I was addding the params to the snippet doing the searching, not the one displaying the results!
          Its all working fine now.

          J