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 952 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

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies