Hi,
just wanted to ask if someone has an idea for silving this problem(bug):
The ajaxsearch only works if executed on a "first-level-page" if executed on a lower level page same as above:
Quote
The spinner image does its thing, then the form just sits there with the search text still in the field.
top1 page <- ajax search works
|- sub1 page <- ajax search does not work
Thanks
-
MODX Staff
- 12,272 Posts
Are either page cached, and if not is the call cached on one page but not the other?
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
Suggestion: How about adding a parents parameter (a la Ditto) to limit search results to only specific subfolders? This could be useful for a number of applications, including subsite/subdomain setups and ShopX product catalog searches. I bet that you could practically copy and paste the code from Ditto to port it over, too.