Merge pull request #223 from Attackmonkey/Hackathon-2757
Fixes issue U4-2757 where generic properties are not ordered correctly.
This commit is contained in:
@@ -178,7 +178,7 @@ namespace umbraco.controls
|
||||
|
||||
//if the property is not in a tab, add it to the general tab
|
||||
var props = _content.GenericProperties;
|
||||
foreach (Property p in props)
|
||||
foreach (Property p in props.OrderBy(x => x.PropertyType.SortOrder))
|
||||
{
|
||||
if (inTab[p.PropertyType.Id.ToString()] == null)
|
||||
AddControlNew(p, tpProp, ui.Text("general", "properties", null));
|
||||
|
||||
Reference in New Issue
Block a user