mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-25 23:28:33 -06:00
order courses by name
This commit is contained in:
@@ -25,7 +25,7 @@ public class CourseMarkdownLoader
|
|||||||
})
|
})
|
||||||
.Select(async d => await LoadCourseByPath(d))
|
.Select(async d => await LoadCourseByPath(d))
|
||||||
);
|
);
|
||||||
return courses;
|
return courses.OrderBy(c=>c.Settings.Name);
|
||||||
}
|
}
|
||||||
|
|
||||||
public async Task<LocalCourse> LoadCourseByPath(string courseDirectory)
|
public async Task<LocalCourse> LoadCourseByPath(string courseDirectory)
|
||||||
|
|||||||
Reference in New Issue
Block a user