Copied to clipboard

Flag this post as spam?

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


  • Rune Grønkjær 1303 posts 2895 karma points
    Nov 01, 2012 @ 13:09
    Rune Grønkjær
    0

    Umbraco 1.7.1.1 xml node order

    Hi,

    I'm experiencing a funny problem. My website have a long list of nodes and in the umbraco admin they are ordered in a certain way.

    In my xslt I can sort them on @sortOrder and everything is just great. Same sort order as in Umbraco.

    If I do NOT sort them by @sortOrder I'm experiencing that I can publish a node and it will be moved to the end of the list. This means that the XML have not been sorted by sortOrder.

    Is this a general "problem" or might it be fixed in later versions of Umbraco?

    /Rune

  • Chriztian Steinmeier 2726 posts 8320 karma points MVP 4x admin c-trib
    Nov 01, 2012 @ 13:16
    Chriztian Steinmeier
    0

    Hi Rune,

    I remember seeing a couple of issues on the tracker regarding this — and I haven't had the issue myself in 4.9.x (yet), so my guess is it's being fixed.

    I'd also expect the default ordering to be the one in the backoffice, though it kind of makes the sortOrder attribute redundant... ?

    /Chriztian

  • Rune Grønkjær 1303 posts 2895 karma points
    Nov 01, 2012 @ 13:18
    Rune Grønkjær
    0

    Yes, it would make it redundant if it wasn't for the order="descending" feature.

    But, thanks for the answer. Nice to know that I'm not seing ghosts :)

  • 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