Silverstripe Version: 4.8
In a controller that extends PageController I’m attempting to return some HTML partials to an XHR (jQuery GET) request.
The response the XHR sees is always empty for activeFilters and results. I’ve used the whole ProductListPage to return with the same result. Nothing rendered.
Reloading the page (to avoid the ajax) and it all works as expected.
I’ve also set one of them to
<h1>hello</h1> and that does return correctly.
What have I forgotten? It’s like the renderWith isn’t actually doing a render.
Also to test, I changed the names of those includes to ones that don’t exist and it throws an error so I assume it’s at least finding them