Copied to clipboard

Flag this post as spam?

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


  • Gregor Koletzki 3 posts 23 karma points
    Feb 20, 2014 @ 20:18
    Gregor Koletzki
    0

    contenservice and sortorder

    Hi

    I use the contentservice to saveandpublish contet. The contentmodel has sortorder as setter and getter... but allways when i save a content the service sets the sororder to max.

    As example 

    Icontent model = service.getbyid (12)

    Current sortorder is 4 

    Service.saveandpublish(model) 

    model = service.getbyid (12)

    Current sortorder is 11... 

    I checked the source and an the saveandpublish prozess service set the sortorder to max count of all items on the same level.

     

    This is little but confusing... u let the user to set the sortorder but u overrides the user decission. 

    Or can i disable the defauft setting of the sortorder? Becouse the solution where to create on all documenttypes cutom sortorder property and use this but in my opinion its little bit strange to do this.

     

  • Søren Kottal 712 posts 4570 karma points MVP 6x c-trib
    Aug 25, 2015 @ 13:31
    Søren Kottal
    0

    Did you find a solution for this?

Please Sign in or register to post replies

Write your reply to:

Draft