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?
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... ?
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
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
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 :)
is working on a reply...