mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-21 19:34:40 +08:00
Ordering activities by name
Should be grouped by Categories instead --HG-- branch : 1.x
This commit is contained in:
@@ -11,7 +11,7 @@ namespace Orchard.Workflows.Services {
|
||||
}
|
||||
|
||||
public IEnumerable<IActivity> GetActivities() {
|
||||
return _activities.ToReadOnlyCollection();
|
||||
return _activities.OrderBy(x => x.Name).ToReadOnlyCollection();
|
||||
}
|
||||
|
||||
public IActivity GetActivityByName(string name) {
|
||||
|
Reference in New Issue
Block a user