From ec638b9c3e717ea65e3c0aa6325b59138d7f3380 Mon Sep 17 00:00:00 2001 From: hartvig Date: Wed, 22 Aug 2012 10:20:59 -0200 Subject: [PATCH] Fixes U4-672 --- src/umbraco.macroRenderings/propertyTypePicker.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/umbraco.macroRenderings/propertyTypePicker.cs b/src/umbraco.macroRenderings/propertyTypePicker.cs index 9fd70e63b5..31e761412a 100644 --- a/src/umbraco.macroRenderings/propertyTypePicker.cs +++ b/src/umbraco.macroRenderings/propertyTypePicker.cs @@ -1,5 +1,6 @@ using System; using System.Collections; +using System.Linq; namespace umbraco.macroRenderings { @@ -70,7 +71,7 @@ namespace umbraco.macroRenderings } Hashtable ht = new Hashtable(); - foreach(cms.businesslogic.propertytype.PropertyType pt in cms.businesslogic.propertytype.PropertyType.GetAll()) + foreach(cms.businesslogic.propertytype.PropertyType pt in cms.businesslogic.propertytype.PropertyType.GetPropertyTypes().OrderBy(x => x.Name)) { if (!ht.ContainsKey(pt.Alias)) {