Adds 28411, dictionary items are sorted by key alphabetically in the API

[TFS Changeset #75951]
This commit is contained in:
hartvig
2010-08-20 11:17:12 +00:00
parent 9ee0f12575
commit c165bf9e2f

View File

@@ -68,7 +68,7 @@ namespace umbraco.cms.businesslogic
ensureCache();
return DictionaryItems.Values.Cast<DictionaryItem>()
.Where(x => x.ParentId == topLevelParent)
.Where(x => x.ParentId == topLevelParent).OrderBy(item => item.key)
.ToArray();
}
}
@@ -211,7 +211,7 @@ namespace umbraco.cms.businesslogic
get
{
return DictionaryItems.Values.Cast<DictionaryItem>()
.Where(x => x.ParentId == this.UniqueId)
.Where(x => x.ParentId == this.UniqueId).OrderBy(item => item.key)
.ToArray();
}
}