We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12110
    • 122 Posts
    Hello,

    as I understand the wiki and documentations, when I want to search all content fields and only one Template Variable named boxInKopf this should to be done in that way:
    [!AjaxSearch? &language=`german` &ajaxSearch=`0` &AS_landing=`24` &AS_showForm=`0` &hideMenu=`0` &parents=`0` &depth=`2` &pagingType=`0` &whereSearch=`content|tv:boxInKopf`!] 


    But that gives an MODx parse error. « Execution of a query to the database failed - Unknown column ’tv_boxInKopf’ in ’having clause’ ...

    I also tried
    [!AjaxSearch? &language=`german` &ajaxSearch=`0` &AS_landing=`24` &AS_showForm=`0` &hideMenu=`0` &parents=`0` &depth=`2` &pagingType=`0` &whereSearch=`content|boxInKopf`!] 

    which does not return results even when the searched term occurs in TV boxInKopf.

    So maybe I’m missing something important ...?

    I’m using MODx 1.0.4 and AjaxSearch 1.9.0.
    Thanks for any hint!
      • 25663 MODX Staff
      • 12,272 Posts
      I’d try updating to the latest AS first, which I think is version 1.9.2
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me