I read somewhere that the feature was added that you could nest a listing (that uses currentid as replacement node) inside another listing.
I am trying to achieve this in the search results also.
I am trying to nest an asset listing that displays an image that is a child of the asset. I want it to be displayed in the search results, similar to how you would display the thumbnail.
At the moment it comes up as if the replacement node is the search page.
The setting of the session variable was done in the listing engine code, so it is possible that it will work for search page results as well. This is assuming that the search page doesn't override the function from listing engine, which needs to be confirmed by a developer.
The change was made in the v3.16 branch, so it should come out with v3.16.6 which is due later today.
It does override this method, but it still ends up using listing engine for the heavy lifting, so it should work fine in search results.
So this does not work in v3.16.3?
No, only in 3.16.6+