6.1.3 - Descendants(int level) doesn't appear to work
Hi all
I noticed that Descendants for a dynamic node takes an integer inidicating the level of descendant, however this appears to be ignored, and I receive the same results no matter what I specify, here's my usage (from a Surface Controller):
var parent = Umbraco.Content(contentId); var pages = parent.Descendants(level) .Take(25) .ToList();
Before I raise an issue I'm just wondering if this is still a supported operation?
6.1.3 - Descendants(int level) doesn't appear to work
Hi all
I noticed that Descendants for a dynamic node takes an integer inidicating the level of descendant, however this appears to be ignored, and I receive the same results no matter what I specify, here's my usage (from a Surface Controller):
Before I raise an issue I'm just wondering if this is still a supported operation?
Thanks
Kev
Ok I think I misunderstood this function, it appears to be to return descendants up to a level, not equal.
is working on a reply...