Matrix Version: 5.3.2.1
I’ve set up my type formats to return a result inside a JSON object. My results page then wraps these inside an array.
I can get the JSON resutls when I query the search page directly, using “./?queries_keyword_query=term1+term2” etc.
But when I send an xhr request to the search page asset, I get the whole HTML page (with the JSON string inside it).
Is there any way to just get the just the JSON results back, in the data returned by the XHR object?
Michael