November Happy Hour will be moved to Thursday December 5th.

Changed sort order for DisplayOptions after upgrade to CMS 9 update 129

Vote:
 

Hi!

We upgraded our solution to CMS 9 update 129 and after that our displayoptions for Blocks are sorted in a changed way.

Before upgrading the displayOptions were sorted in the same way as they wre added (the way we want), like this:

var options = ServiceLocator.Current.GetInstance();
            options
                .Add("full", "/displayoptions/full", SiteConstants.ContentAreaTags.FullWidth, "1", "epi-icon__layout--full")
                .Add("wide", "/displayoptions/wide", SiteConstants.ContentAreaTags.TwoThirdsWidth, "2", "epi-icon__layout--two-thirds")
                .Add("half", "/displayoptions/half", SiteConstants.ContentAreaTags.HalfWidth, "3", "epi-icon__layout--half")
                .Add("narrow", "/displayoptions/narrow", SiteConstants.ContentAreaTags.OneThirdWidth, "4", "epi-icon__layout--one-third")
                .Add("onequarter", "/displayoptions/onequarter", SiteConstants.ContentAreaTags.OneQuarterWidth, "5", "epi-icon__layout--one-quarter");

After the upgrade they are randomly(?) sorted in edit-view. In local environment as wide, half, narrow, full, onequarter.

In staging environment as onequarter, full, wide, narrow, half.

How can I get control over how the Blocks displayoptions are presented to our editors in edit view?

Best regards Kristian.

#160783
Oct 06, 2016 10:31
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.