Nested Asset Listings behaving oddly

Hi All,


I'm building a new site that includes a catalogue of sorts, on Matrix 3.20.1.



I want to list a title, then some images, and then some comments about this title - repeating all this for each title that has been added to the system.



Eg - A list of movies, with a couple of stills and then comments about that movie.



The main asset listing is working ok. I can display a list of titles.

The problem occurs when I nest another asset listing within the standard page display format. I end up getting all titles listed, but each one has all comments, and all thumbnails shown. So if I had 20 titles - each with 2 thumbnails, I get 40 images listed below each title. The same thing happens for comments.



The thumbnail asset listing has the main catalogue as the root node (the same asset as the root node of the main asset list)

root node logic = "Assets must be a child of at least one root node"

Direct Links = no

Lookup Dir = down

Link Value filtering = no

List formatting = standard

Dynamic Parameters = "Replacement Root node for the listing (must be a child of the static root node)"

Source = Current Asset -> Asset ID



I've done this many times using 3.16 - is there something obvious I am missing here? Where am I going wrong?



WM

You are saying that you are using two asset listing to get this working, correct? And that you have nested the second asset listing in the first asset listings type format?


This should be the correct way to do it, but in order for the second asset listing to see children of the first asset listings listed assets, the second asset listing should have a session var set as list_current_asset_id. That way, the nested asset listing won't be looking at the current asset, as it is now, it will be looking at EACH asset listing by the "parent" asset listing, and list the assets under that.



Does this make sense?

Hi Nick,


Thank you - that was spot on.



Gavin