Hi!
Love AjaxSearch, but I’ve come across an issue and I’m not sure what I’m doing wrong. I’ve setup a TV called my-id. I only want to search for documents by this field. The following code works flawlessly.
[!AjaxSearch? &ajaxSearch=`1` &advSearch=`exactphrase` &whereSearch=`content:NULL|tv` &withTvs=`+:my-id`!]
Now I change it to use a landing page and now I’m getting results that I would have expected to be excluded.
Here is my AjaxSearch call:
[!AjaxSearch? &ajaxSearch=`0` &advSearch=`exactphrase` &AS_landing=`2` &whereSearch=`content:NULL|tv` &withTvs=`+:my-id`!]
I am running Uniform Server v4.3 under Windows Vista Home Edition and using FireFox 3.0.13.
I am using version 1.8.3 of AjaxSearch and version 1.0.0 of Modx.
Did you add &whereSearch=`content:NULL|tv` &withTvs=`+:my-id` in the AS snippet call of the landing page ?
No, I didn’t have those arguments in the snippet call on the landing page.
I just tried putting in them and it worked a treat!
Thanks coroico!
-
☆ A M B ☆
- 491 Posts
Hi, I’ve tried serveral times a similar call:
[!AjaxSearch? &ajaxSearch=`1` &advSearch=`exactphrase` &whereSearch=`content:NULL|tv` &withTvs=`+:my-id`!]
with AjaxSearch 1.8.4 works perfect!
with version 1.8.5 it doesn’t seem to work, is the option "withtv" still valid?
Thanks