Asset Listing Type 2

Sorry for another question…


I was building an asset listing, and I didn't want it to show type_2 links. But, I realized that it said this was only an option if Direct Links Only was turned on. Is there no other way to not display type_2 links in an asset listing? Direct Links Only goes only 1 level (child) is this correct? So this could be a problem…



How else could I hide an item from an asset listing? Without removing it from the root node, etc…


The easiest is if you can filter by asset type, but I assume its all the same type of asset being listed. You could use a Related Asset Listing and only tag the items you want. You could also use the new link value/filter combination, but I'm not sure if that works with Direct Links off either.

Why is there a limitation of only limiting type 2 links when Direct Links is on?

Greg will have to answer this specifically -- I reckon it's to do with the SQL built for direct children vs. all children and how much slower it would be if we started link checking as well. But that is a guess, 'cos I don't have time to do a code scan right now.

If you have direct links only set to YES, then we know the parent and the child and can check the type of that one link. If you have it off, we only know the child, which can be linked in a number of places. So if an asset has both a TYPE_1 and TYPE_2 link, should we filter it out?


The obvious answer is "give the user the option" but that just doesn't exist yet, so it is ignored.



As for the link_type setting, it does work regardless of the direct links only setting as it is inclusive rather than exclusive. So any asset that has a link value of "xyz" will be included, even if they have other links values as well.