Copied to clipboard

Flag this post as spam?

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


  • Alex Brown 129 posts 620 karma points
    Jul 25, 2017 @ 16:10
    Alex Brown
    0

    IPublishedContent SortOrder Property Issue

    Hi all

    I'm trying to utilise Umbraco's in-built SortOrder property for IPublishedContent, so that users can sort their nodes to manipulate data on the client-side.

    My problem is that the SortOrder seems to be inconsistent, unless I'm missing something.

    When I save and publish some content, its SortOrder may jump from 0 to 14, even though it's at the top of the tree view above it's siblings. This then means it appears at the bottom as the second in the tree-view will have a SortOrder of 1.

    I feel like I'm missing something obvious, any help would be appreciated.

    Also, my issue seems to relate to this post:

    https://our.umbraco.org/forum/developers/api-questions/48535-contenservice-and-sortorder

    Thanks

Please Sign in or register to post replies

Write your reply to:

Draft