Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Tom 713 posts 954 karma points
    Jul 03, 2013 @ 06:35
    Tom
    0

    v6.05 Media .Descendants duplicate number of items?

    Hi Guys,

    I was just wondering if this was due to be fixed.. My code looks like so:

    if (Model.Content.HasValue("benefitsImageFolder")) {
                            var benefitsFolder = Umbraco.TypedMedia(Model.Content.GetPropertyValue("benefitsImageFolder"));
                            if (benefitsFolder != null && benefitsFolder.Descendants("Image").Any())
                            {
                                var benefitsCarouselItems = benefitsFolder.Descendants("Image");

    and when debugging they're duplicated I was just wondering if there's a resolution for this? we're running the v6.05

Please Sign in or register to post replies

Write your reply to:

Draft