Revert U4-1922 to resume expected sorting behavior.

This commit is contained in:
Sebastiaan Janssen
2013-04-17 07:03:18 -02:00
parent 158f4d0614
commit a6997a5cb7

View File

@@ -133,7 +133,7 @@ namespace umbraco.controls
// Iterate through the property types and add them to the tab
// zb-00036 #29889 : fix property types getter to get the right set of properties
// ge : had a bit of a corrupt db and got weird NRE errors so rewrote this to catch the error and rethrow with detail
foreach (PropertyType propertyType in tab.GetPropertyTypes(_content.ContentType.Id).OrderBy(x=>x.SortOrder))
foreach (PropertyType propertyType in tab.GetPropertyTypes(_content.ContentType.Id))
{
// table.Rows.Add(addControl(_content.getProperty(editPropertyType.Alias), tp));
var property = _content.getProperty(propertyType);