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