Changes the order of inherited properties on tabs

This commit is contained in:
Per Ploug Krogslund
2015-07-06 14:15:23 +02:00
parent 13b7ca968a
commit 955f1eacf8

View File

@@ -123,8 +123,8 @@ namespace Umbraco.Web.Models.Mapping
//take all properties from all the other tabs and merge into one tab
var properties = new List<PropertyTypeDisplay>();
properties.AddRange(groupOfGroups.Where(x => x.Id != mainTab.Id).SelectMany(x => x.Properties));
properties.AddRange(mainTab.Properties);
properties.AddRange(groupOfGroups.Where(x => x.Id != mainTab.Id).SelectMany(x => x.Properties));
mainTab.Properties = properties;
//lock the tab