mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 03:25:23 +08:00
WorkItem 16992 - Content Types are now in Alpha Order like Content Parts.
This commit is contained in:
@@ -38,7 +38,7 @@ namespace Orchard.ContentTypes.Services {
|
||||
public Localizer T { get; set; }
|
||||
|
||||
public IEnumerable<EditTypeViewModel> GetTypes() {
|
||||
return _contentDefinitionManager.ListTypeDefinitions().Select(ctd => new EditTypeViewModel(ctd));
|
||||
return _contentDefinitionManager.ListTypeDefinitions().Select(ctd => new EditTypeViewModel(ctd)).OrderBy(m=>m.Name);
|
||||
}
|
||||
|
||||
public EditTypeViewModel GetType(string name) {
|
||||
|
Reference in New Issue
Block a user