Edit: solved,
http://modxcms.com/forums/index.php/topic,37607.msg240505.html#msg240505
Hi, I have used AjaxSearch weeks ago and I have found this bug, just realized it would be nice to ask it here.
I was trying out some search terms until I saw something weird when I used the search term "$20", which weirdly showed all of the documents under the parent documents I have specified, sorted by item id
And I have discovered it does do the same thing for each from $10 - $99, but not on $100 and up. I am worried that this kind of behavior can be a glitch that can be used or aid in attacks.
Here is the header form code: (non ajax)
[!AjaxSearch? &tplLayout=`header_form`&ajaxSearch=`0`&AS_landing=`14`&tplResult=`search_result`&tvPhx=`tv:displayTV`&parents=`7,12` !]
Here is the landing page code:(ajax form + non-ajax result[hides on ajax search use])
[!AjaxSearch?tplAjaxResult=`search_result`&tplLayout=`ajax_form`&tvPhx=`tv:displayTV`&parents=`7,12`&withTvs=`+:series,brand,category,artist`!]
[!AjaxSearch?ajaxSearch=`0`&tplResult=`search_result`&tplResults=`non_ajax_results`&AS_showResults=`1`&AS_showForm=`0`&tvPhx=`tv:displayTV`&parents=`7,12`&withTvs=`+:series,brand,category,artist`!]
As it shows above, I did tried to remove the other TVs, but it doesn’t remove this behavior, is there anything wrong with my implementation or something ? thanks in advance.